By Paul.CW on
My hosted site was opened for a particular domain, lets say "ThisCompany.com".
But until I have some substance ready and do some testing, I don't want to redirect my domain name from where it is.
Can I redirect another domain name I own to my Drupal site , lets say, "Different.com" to build and test my site, then remove the domain Different.com and point the correct domain ThisCompany.com to my site?
Thanks,
Paul
Comments
You have to set this in your
You have to set this in your DNS by making Different.com point to the IP address where the Drupal installation is. When ready, change the DNS making ThisCompany.com point to the IP of the final site. If you have problems after the switch, look for the line
# $base_url = 'http://www.example.com'; // NO trailing slash!
in your settings.php. This is there to handle situations like yours where you change your domain name. Uncomment this line in your settings.php file by removing the # and replace www.example.com with www.ThisCompany.com
_______
Anolim: developing and supporting multimedia, community and collaboration solutions
_______
Safe Swiss Cloud: Enterprise grade cloud infrastructure for Drupal B2B solutions and platforms.