Discover Centmin Mod today
Register Now

Domains DNS Multiple domains pointing to one server?

Discussion in 'Domains, DNS, Email & SSL Certificates' started by rc112, Mar 7, 2018.

Tags:
  1. rc112

    rc112 Member

    124
    14
    18
    Sep 22, 2017
    Ratings:
    +15
    Local Time:
    5:33 AM
    Hi
    I want to direct 2 different domains to the same single server and these 2 different domains are registered with different domain registry.

    Based on GETTING STARTED GUIDE, I should create separate A record with each domain register and point to Default Server Main Hostname? But the question is if the hostname is like hostname.newdomain1.com. How come I point hostname.newdomain1.com with my newdomain2.com? Anyone can help? Thanks.
     
  2. eva2000

    eva2000 Administrator Staff Member

    34,649
    7,658
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,776
    Local Time:
    7:33 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Each domain's DNS A record needs to point to server's IP address not hostname :)

    So if you have domainA.com and domainB.com and setup new Centmin Mod server you would probably have
    • hostname.domainA.com for main hostname and DNS A record to server IP
    • domainA.com and DNS A record to server IP
    • domainB.com and DNS A record to server IP
     
  3. rc112

    rc112 Member

    124
    14
    18
    Sep 22, 2017
    Ratings:
    +15
    Local Time:
    5:33 AM
    humm....right. :D Thank you @eva2000
     
..