Forum Moderators: phranque
I have a domain. I log onto cpanel and create and addon domain, so I have 2 domains hosted in a single account.
I then use the addon domain and create several sub-domains for it.
I want to do a permanent redirect on one of those subdomains and point it to a totally different domain. How do I do it? I tried the redirect option on the cpanel and it only works for the main domain, not for the addon one.
I tried uploading an htaccess file to the folder where the subdomain is, and it didn't work either.
Any idea on how to do this?
What was in that file, and *how* did it not work? Was there anything in the server error log file after you tested it?
A simple RedirectPermanent directive in .htaccess in that subdomain's subdirectory is all that should be required, assuming that you can successfully load pages from that subdomain now.
Jim