title: Virtual Hosting - Primary Domain configuration
body: <p>I have a technical question about how virtual hosting Primary Domain configuration work.</p>
  
  <p>My client have a hosting plan where I work on the new version of his site, so far no domain point to this hosting, so I had to modified my hosts files to emulate the DNS. </p>
  
  <p>In the Hosting provider details, I have the address ab-cd.com (fake address, just for this question) listed under 'Hosted Domain', which is good, since this is the client domain for his actual site.</p>
  
  <p>However, when I click to connect into the Panelbox / cpanel, the configuration is made for abcd.com (without the dash) an address that my client do not own, in fact, the second address is still available to be buyed.</p>
  
  <p>So, when I ask the technical support to reconfigure the hosting to use the proper address (ab-cd.com) they answer me :</p>
  
  <p><em>We can't change the primary domain to ab-cd.com because this domain
  is already used on another server.</em></p>
  
  <p>However, they can configure their server with an address nobody own. 
  How this is possible ?</p>
  
  <p>The problem I fear is, my wordpress installation is configure with abcd.com, so that means I will have to reconfigure when the DNS will be change and finally the server configuration will use the correct domain ab-cd.com, leaving no time for handling any issue that might create. I thought working with a development server was to prevent this kind of situation...</p>
  
  <p>Thanks for helping me to better understand how this things works.</p>