Moving a Subdomain


#1

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


#2

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

$50 off and 3 free domains with code: [color=#CC0000]DH3[/color] Sign Up NOW or More Codes Here


#3

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


#4

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


#5

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