My organization is on the verge of redesigning its website, and we're exploring different CMSes. We're also wanting to switch hosting providors. What we want to do is design the new site on the new host's server. Once we have the site ready (designed, tested, etc.), we want to switch the DNS from the old host to the new. The new account is shared hosting; since the domain resolves to our current address, we'd have to access the new/test site during "construction" by ip/~accountname. (The new host has MySQL, PHP, and meets all the other requirements for using Drupal.)

Has anyone else attempted this? Will this work? What problems am I likely to encounter? Any other advice you can offer?

Thanks!

JT

Comments

US421’s picture

I have done this with no problems whatsoever, but not with the new 4.7 release. Previously you were required to set a base url in settings.php in which case you would replace

$base_url = 'http://www.example.com'; // NO trailing slash!

with

$base_url = 'http://ip/~accountname'; // NO trailing slash!

and all would be well. In the new release this line is commented out. Seems like you could try it with the line commented out and if you had a problem try it without the comment. Just don't add the trailing slash. :)