Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Mar 2004
    Location
    italy
    Posts
    15

    Default Redirect doesn't work

    I select a domain redirect http://domain.com to http://domain2.com permanent but when i click on "add" cpanel doesn't set redirect and i click on "go back" and under "current redirects" there's nothing written why?

  2. #2
    Member bamasbest's Avatar
    Join Date
    Jan 2004
    Posts
    531

    Default

    What you are actually trying to do is to "Park" domain1 on top of domain2.

    If you have access to WHM you should be able to do this by enabling your account to park domains. If not, check with your host and ask if they will allow you to do this or if they will do this for you.

  3. #3
    Member
    Join Date
    Feb 2004
    Posts
    204

    Default

    Hi,

    If you are not able to set the redirection through your cpanel you can do it by directly editing your .htaccess file. Enter the following entry in your .htaccess file which is available under your public_html directory. If it is not present then create a new one with the command "touch .htaccess" and enter the entry as

    Redirect 301 http://domain1.com http://domain2.com

    Save the file and try whether your redirection is working or not.
    May be this helps you.

    Regards,

    Bright

  4. #4
    Member
    Join Date
    Apr 2004
    Location
    USA
    Posts
    8

    Default

    I have been trying to solve this but I can't. I have access to WHM and every time I try to park domain on top of my main domain it adds an entry to httpd.conf and than my main server can't be reached if I type my main domain or parked one.

    I tried this .htaccess too but no luck.

    Can anyone explains why I am having this problem plz?

    For example I have domain name abc.com and I would like point xyz.com and xyz2.com to abc.com

    So after all this setup if I type abc.com or xyz.com or xyz2.com they all would open abc.com

    I would really appriciate it if someone could help on this.

Similar Threads & Tags
Similar threads

  1. Resetting Redirect to SSL doesn't work in 11.28.28
    By kjg in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-11-2010, 03:41 AM
  2. Replies: 7
    Last Post: 04-12-2007, 12:55 AM
  3. Cpanel doesn`t work
    By rambg in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-26-2004, 07:43 AM
  4. Http Redirect does not work?
    By mydomain in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-04-2004, 06:39 PM
  5. Subdomain-Redirect does not work
    By strauberry in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-27-2003, 11:35 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube