I double checked in UFW that port 80 and 443 are allowed. I have the domain DNS pointed to cloudflare (currently lives on another LAMP server) I have hosts file configured as above, and I added in Have the server up and responding to ping commands. Made some progress lol but stuck again for the moment. I changed the a record for the domain in CF pointing to the linode 50.xx IP address. I have hosts file configured as above, and I added inĮverything went as expected. You are going to want to update your /etc/hosts file as outlined here. If you are using a terminal window (Terminal, iTerm, PuTTY) you can do this by following the command below.įrom there it will ask for your password and you will be in as the root user. Blake You will want to make sure you are logged in as the root user. You are absolutely on the right track and doing better than I did my first time trying this! If you need anything else let us know. You are going to want to update your /etc/hosts file as outlined ().įrom there you should be good to go. Since your Linode has a static IP, you should be fine just using that, and removing the entry for 127.0.1.1.ĭescription You will want to make sure you are logged in as the root user. As the Debian documentation notes:įor a system with a permanent IP address, that permanent IP address should be used here instead of 127.0.1.1. Basically your hostname just needs to resolve to somewhere. You don't need to specify a domain for localhost, though. Since your Linode has a static IP, you should be fine just using that, and removing the entry for 127.0.1.1. > For a system with a permanent IP address, that permanent IP address should be used here instead of 127.0.1.1. I opened the hosts file and changed the top line from ġ27.0.0.1 localhost.localdomain localhostįor public IP If I understand correctly I can change it from ġ03.0.113.12 usernameġ11.111.111.111 hostnamesetpreviouslyġ27.0.1.1 ubuntuĭescription Yes, that looks ok. >127.0.0.1 localhost.localdomain localhostįor public IP If I understand correctly I can change it from I opened the hosts file and changed the top line from It should probably go back there because right now it's giving you a kind of incomplete picture of what you need for a working system. This information used to reside in the Getting Started guide, but for some reason it has since been removed. Basically right now it's looking up your hostname but it doesn't map to anything. etc/hosts is used for stuff that needs to be internally resolvable on your machine, without any interaction with an external DNS server. The easiest way is probably just to add it with your Linode's public IP as this guide suggests. Your hostname needs an entry in the /etc/hosts file. This information used to reside in the Getting Started guide, but for some reason it has since been (). `/etc/hosts` is used for stuff that needs to be internally resolvable on your machine, without any interaction with an external DNS server. The easiest way is probably just to add it with your Linode's public IP as () suggests. Description Your hostname needs an entry in the `/etc/hosts` file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |