Redirect to a subdomain
I'm learning as I go here, so forgive me if I'm using the wrong terminology.
I have registered some domains, and I would like them to redirect to some corresponding subdomains on my main site. ie:
If the main site is xyz.com
123.com needs to direct to 123.xyz.com
456.com needs to direct to 456.xyz.com
etc.
The reason I want to do this is because I have a wildcard SSL on my main site, and I would like all my smaller sites to benefit from it.
I feel it is something to do with the name servers, but I need some advice on what to change.
Thanks
-
Hey there! All you need to do to make this happen on a cPanel server is to use the cPanel >> Domains interface, create the account and ensure the "Share Document Root" box is checked. This creates an Apache alias that links the new domain to your existing content.
As far as the nameservers, you just need to ensure they are pointed to the correct server and cPanel handles the rest.
0
Please sign in to leave a comment.
Comments
1 comment