Moving a Subdomain

Moving a Subdomain

Posted by: joebakerdc
Posted on: 2008-09-07 21:34:00

I have been developing a site, temporarily located at a subdomain of my main dreamhost site, sub.dreamhostaccount.com. It is ready to go live, but needs to exist as a subdomain of an existing site that is hosted elsewhere, sub.existingsite.com. The subdomain I've been working on will continue to be hosted at Dreamhost, but the domain it will be under will continue to be hosted elsewhere. What do I need to do?

Thanks,

Joe

Re: Moving a Subdomain

Posted by: patricktan
Posted on: 2008-09-07 22:35:00

If you want both sub.dreamhostaccount.com and sub.existingsite.com available, you will need to make a copy of your files and upload to sub.existingsite.com

If you only want only one of them available, you can try redirect domain

Re: Moving a Subdomain

Posted by: sdayman
Posted on: 2008-09-08 05:52:00

You'll also need to edit the DNS for your domain (at the other host?) and add the IP address of your subdomain here as an A record for sub.existingdomain.com

-Scott

Re: Moving a Subdomain

Posted by: joebakerdc
Posted on: 2008-09-08 07:39:00

Does that mean I'll need to pay for an IP address at Dreamhost for the subdomain? Sorry, my DNS skills are extremely rusty.

Re: Moving a Subdomain

Posted by: sdayman
Posted on: 2008-09-08 21:02:00

No. There's already an IP address. The Apache config file says that if you request sub.example.com at that IP address, it'll serve data from the proper directory.

-Scott

Tags: subdomaindreamhost