1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Multiple host names to one web site

Discussion in 'Plesk for Windows - 8.x and Older' started by three03, Jul 21, 2004.

  1. three03

    three03 Guest

    I have created a domain under the admin, let's call it "mydomain.com".

    I am currently hosting this domain on another server and it is in working order. (www.mydomain.com)

    I want to deploy a test/development version of a new site to my new server, running Plesk 6.5. When I go to create the domain I do not see any option to specify a hostname other than "www" and assign it to the domain.

    Plesk is not doing DNS for this domain, I have it hosted elsewhere.

    How would I setup Plesk to respond to "dev.mydomain.com", and/or "test.mydomain.com"?

    In Apache this would be accomplished with the ServerAlias command in httpd.conf, but I am looking for similiar functionality from the admin. Probably by throwing a wildcard in there, *.mydomain.com, so that it responds to any hostname of the domain.

    I have seen mention of domain aliases, but to me this means having multiple domains (ie: domain1.com, domain2.com, etc) instead of multiple hostnames.

    Using the subdomain features doesn't seem the way to go either because I would have to move the content of the subdomain to the main domain when I want to go live.

    Am I missing something here? Is there a checkbox that allows this that I am just not seeing?

    Any feedback would be greatly appreciated. :)

    -- Three
  2. LithiuM

    LithiuM Guest

    try creating a new domain like test.zxc.com instead of subdomain and instead of physical hosting set it up as forwarding account to www.zxc.com
  3. three03

    three03 Guest

    By creating a domain such as "dev.mydomain.com", what happens when I want to make it live? Do I just rename it? Do I have to create the "real" domain at that point and then migrate content?

    I am not sure what you mean by physical hosting and forwarding account. Could you be more specific?

    Thanks for the reply. :)

  4. LithiuM

    LithiuM Guest

    I mean hosting type when you're creating a new hosting account on plesk...