Setting up a Sub Domain

Out of context: Reply #1

  • Started
  • Last post
  • 12 Responses
  • chow0

    Assuming that the base domain, www, and subdomain share the same IP address:

    @ A xxx.xxx.xxx.xxx
    www CNAME @
    subdomain CNAME @

    will set up an A record for your base domain, and CNAMEs for www and subdomain, aliasing them to the base domain.

    Alternately, you can also do this:

    @ A xxx.xxx.xxx.xxx
    www A xxx.xxx.xxx.xxx
    subdomain A xxx.xxx.xxx.xxx

    to set up A records for the base domain, www, and subdomain.

    Additionally, you need to set up MX records to handle email.

View thread