Advice on pointing site


#1

We have been developing under test.xyz.com, and are happy with what we have developed. We now would like that same content to also appear under www.xyz.com and xyz.com. What’s the best way of setting that up here? I know how I’d do it on an IIS server, but not with these panels. Do we set up the www and plain xyz.com to mirror what’s at test.xyz.com (as documented at http://wiki.dreamhost.com/Mirror_Domain), or is it best to redirect (as documented at http://wiki.dreamhost.com/Redirect_Domain)?

Thanks for your help with this!


#2

If you’ve already set it up here, then you can configure a Mirror of your site. You probably don’t want to redirect to a site called test.example.com.

Personally, I just FTP in and rename my folders so my live site goes offline and my dev site becomes my main site:

Rename example.com to example.sav
Rename dev.example.com to example.com

By default, this site will respond to example.com and www.example.com


#3

Thanks so much! That’s really helpful.

Yeah, redirecting would be silly.

I’m still learning how to work within this environment. I didn’t know that I could just rename the folders. I have WordPress installed there, so presumably that would still work because it refers to the config files, but the automated / one-click upgrades would no longer work (?), so creating the mirror might be best?

[hr]
I’ve tried the mirroring thing, mirroring www.xyz.com to look at test.xyz.com, but when I go to www.xyz.com now, I can see in the browser own the bottom that it’s looking for data from test.xyz.com.

Is there any way around that?

Maybe I do just need to do what you suggested, about renaming the files (but I’d prefer the on-click installs to not break).

Hmmm…


#4

Ahhh… now I see that if I change the web site details within WordPress the mirroring is working, and going to www.xyz.com displays that info down the bottom of the browser screen.


#5

The only disadvantage to Mirroring is that the old test site is still active.

WordPress has such a good built-in update mechanism that I said goodbye to One-Click a long time ago.


#6

Yeah, I’m wondering that.

Thanks for all you’re help, Scott.