Change Vhost Domain name

Discussion in 'Installation/Configuration' started by tomnhanni, Dec 4, 2013.

  1. tomnhanni

    tomnhanni New Member

    Hello,

    System: Debian wheezy, ISPConfig 3.0.5.3

    We have been developing a CMS website using a development domain and are ready to go live. What is the best way to do this?

    Right now its running on dev.mydomain.com and we need to go live with mydomain.com

    Do I just rename the domain in ISPConfig Admin and save? Or do I create a new domain mydomian.com and copy over the files? Whats the best way? Will renaming even work? Or will it erase all files? Are there any pitfalls?

    Thanks alot for any advice.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You just rename the domain name in the website settings. Website paths in ispconfig do not contain the domain name (the path is something like /var/www/clients/clien1/web1/), so it does not get altered when you change the domain. The only thing that chnages are the symlinks in /var/www/ that exsit for easier shell navigation.

    If your cms system has stored the domain name in its database (like wordpress), then you have to change it there. But thats not ispconfig dependant.
     

Share This Page