2 doamin => 1 website

Discussion in 'General' started by hack, Mar 4, 2011.

  1. hack

    hack New Member

    Hi, i can somene tell me how to set twho domain into one wesite?
    What DNS records?

    1. domain-1.com
    ns = ns1.domain.com
    ns = ns2.domain.com
    A = web.domain.com

    2. domain-2.com
    ns = ns1.domain.com
    ns = ns2.domain.com
    alias = domain-2.com => domain-1.com //or CNAME?

    Is this wrong? Please, explain me this...
    Last edited: Mar 4, 2011
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Add the second domain as aliasdomain to the first website in the website settings.

    In DNS, make sure that you created DNS A-Records for all domains that point to the IP of the webserver.
  3. hack

    hack New Member

    Thank you, now it works.

Share This Page