There is a subdomain http://gamer-by-life.mega-mind.info/ where the site is stored. There is also a domain http://gamer-by-life.com/ . How to make it so that the domain http://gamer-by-life.com/ opened the site of that subdomain, did not redirect to that site, namely, opened it in its domain? Both domains are mine.

In other words - how to make a parking domain for a subdomain?

    3 answers 3

    For this purpose, you must use a CNAME record.

      Have a domain registrar gamer-by-life.com .

      1 Delete all A , AAAA and CNAME entries on @ and www .

      2 Create a CNAME record for @ and www. (dot at the end of the domain is required)

       @ 14400 CNAME gamer-by-life.mega-mind.info. www 14400 CNAME gamer-by-life.mega-mind.info. 

      3 Save and wait.

        1. in the settings of the server http://gamer-by-life.mega-mind.info/ add an entry that this server can request a resource at url http://gamer-by-life.com/ (depends on the type of server / hosting)
        2. in the DNS settings that "resolve" http://gamer-by-life.com/ , add an entry of type A , specifying the target host gamer-by-life.mega-mind.info