Problem with aliases for domains

Discussion in 'Installation/Configuration' started by jplusje, Dec 11, 2007.

  1. jplusje

    jplusje New Member

    On our webserver we host our main domain eg www.main.com

    When a new website is created for a client we always use customer.main.com as an alias during development and after development the DNS records for the main domain are changed to our server.

    After creating the main website for the customer e.g. customer.com I tried to add customer.main.com as a "Co-Domain" but when trying this I get the error message "This domain belongs to another customer" which is correct but I would like to override this behaviour.

    How to solve this issue?
     
  2. Hans

    Hans Moderator ISPConfig Developer

    Use subdomain instead of co-domain

    What you can do is the following:
    During developement, create a subdomain on your server, like:
    customer.myhostingcompany.com (not a co-domain).
    Use customer for the hostname and myhostingcompany.com for the domainname.

    When you're finished with the developement and testing of the website, you can change the hostname within "www" and the domainname within the required domainname of the client.

    Within the tools menu, you also find a tool "Move Websites", so you can move the site to your client on any moment you want.

    This is a very practic workaround. :)
     

Share This Page