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 writtenwhy?
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 writtenwhy?
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.
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
![]()
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.