How do I add my domain to my Linode?
I'm trying to add my domain to my Linode, but I'm running into issues. What are the steps I should be following when trying to add a website? I'm currently using Apache and Linode's DNS Manager.
1 Reply
The very first thing you'll want to do is add your domain to our DNS Manager, if you haven't already. DNS propagation takes time so you may as well set it up first and then work on the server-side configurations.
Make sure to review the entire DNS Manager guide as it covers everything needed to host a basic website's DNS on Linode:
https://linode.com/docs/networking/dns/dns-manager-overview/
After you've added the domain to the DNS Manager you'll need to configure Apache so it understands any requests it receives. This is where Name-based Virtual Hosts
comes into play.
Assuming you already have a LAMP stack installed, you'll need to edit your virtualhosts file to include your domain. The following Linode guide covers the steps in detail so take a look at this:
https://www.linode.com/docs/websites/hosting-a-website/#configure-name-based-virtual-hosts