How to add sub-domains on Lunarpages
by Alan
How to add sub-domains For your domain?
IF your primary domain(example.com) is hosted on Lunarpages
- eg. zhipeng-zhang.com(NameServer on Lunarpages) : just do the normal steps in the Cpanel under sub-domain section, make sure do not make redirection.
- eg. web80s.net(NameServer on Godaddy): I wish to have subdomain demo.web80s.net. Add a A Record being host is demo, IP is 67.210.123.65(Web Server: topaz.lunarbreeze.com 's IP).
- Go to the cpanel where web80s.net is hosted, add sub-domain demo.web80s.net.
In this way when demo.web80s.net is requested to get resolved, it first goes to web80s.net, then goes to second level domain demo.web80s.net. Becuase Godady hosts domain web80s.net, so when demo.web80s.net is requested in the browser, godaddy looks for web80s.net first, then it looks for demo.web80s.net. Finally it checks the ARecord if host "demo" exist. As we already added the ARecord host "demo" being IP is 67.210.123.65(Web Server). So the http request gest response from the web server where web80s.net resides.
zhipengzhang.net (NameServer on Lunarpages) : same steps to take as zhipeng-zhang.com. Because its name server is on Lunarpages.
A Few Catch ups
An A Record(IP address) : It is a DNS record that can be used to point your domain name and host names to a static IP address. You can use a A record whenever you have to assign a specific IP to a domain name or to a sub-domain.A MX (Mail Exchange) : It is a type of resource record in the Domain Name System specifying how Internet e-mail should be routed. It point to the servers that should receive e-mail, and their priority relative to each other.A CNAME (Canonical Name) : It allows you to have as many subdomains as you wish without having to specify the IP for every record.


0 comments:
Post a Comment