You’re only likely to run into virtual host configuration on advanced hosting (VPS and dedicated hosting plans). Each virtual host will also define the path of the web root to serve if a browser requests a certain domain.Īn example of a virtual host entry in Apache could be: (That’s how multiple websites share a single IP address.) Each virtual host will define a domain and a port that it will listen to. Virtual hosts are basically a set of instructions telling the server how to handle incoming requests for certain domain names. In this situation you’ll need to configure virtual hosts. It’s not so easy if you’re not using a management tool like cPanel, however. If you’re working with WHM or cPanel, you’re in the clear – those tools handle server configuration for you. Now, it’s time for the web server to do some work. Configuring a server’s virtual hostsĪt this point, DNS has done its job. You can check the status of a registered domain through GoDaddy’s WHOIS tool. Note: If a domain has not been registered, your browser will return a “ERR_NAME_NOT_RESOLVED” error. Your computer connects to the provided IP address.The DNS provides the IP address to your computer.If your computer doesn’t know the IP, it looks up the DNS record.Your computer checks if already knows the IP for.You enter a domain on your browser like:.Instead, it acquires that information through the Domain Name System, or DNS. Your computer doesn’t automatically know the connection between domain names and IP addresses. So when you enter in your browser, you’re actually “dialing” (connecting to) 208.109.4.218, the IP address for. Now searching for “Dad” on your contact list will give you his number.ĭomain names work the same way. Saving his number as “Dad” is easier than remembering his phone number. It’s kind of like a name on your phone’s contact list.įor example, say you want to be able to call your father. How does the domain name system (DNS) work?Ī domain name is the human-readable representation of an IP address. It basically points to your base domain, i.e. The difference between a Host record and a CName record is that a Host points to the IP address of a server, while CNames points to a URL. Please make sure you save everytime you make changes. Changes are not applied until you click save. Clicking this will open a modal that will allow you to add a record. Clicking this will allow you to delete a record. Clicking this will allow you to edit a record. C: TTL, the average time it will take for your changes to take into effect.These are the IP addresses of your servers. Wondering what all of those options are for in Figure 1 and 2? A quick reference for the DNS records screen Now you just need to wait for the DNS update to propagate across the web. This will close the modal and you should be taken back to Figure 1, the main DNS records screen, with a red notification bar across the top.Ĭlick Save to save all the changes you made. You can put anything in here, but the shortest amount of time will make the changes propagate more quickly.Ĭlick Finish. be globally available across the internet. TTL is the average time it will take for your changes to propagate, i.e. The third field, TTL is a dropdown menu that contains time-to-live (TTL) options. Your host IP address from step 1 goes into the second field, called Points to. Otherwise, you’ll need to edit the existing one by clicking the Edit button. If an A (host) record doesn’t exist, you’ll need to click “Add Record”. This part is, by far, the most important part of the step by step guide. Back under My Products, next to Domains, click Manage. Click your username to show a dropdown menu, then click My Products.īoom! There’s your IP address under Server Details. All the more juicy and detailed info will come after the step by step guide.) Getting your server’s IP address (That’s most likely the reason why you are here anyway. This tutorial assumes that you already own a domain and a hosting account.)įirst, let’s configure the domain you’re working on. ( Registering and buying domains is outside the scope of this tutorial.
0 Comments
Leave a Reply. |