torstai 7. toukokuuta 2015

Setting up DNS on Namecheap: host records

Here is a picture how to setup host records properly on Namecheap.

Host Name: @ & www should be A record type and point to your server IP address. TTL can be keept at default value. This means anyone can now connect to my domain with www. or without. Subdomain is added like "ida" and then ip of my server and record type A. www.ida subdomain is set with CNAME. On the server side, virtualhost file forwards the requests for the user.