Garrett Carder Garrett Carder - 1 year ago 101
Linux Question

Using DNS with Linux Server

I have apache, php, mysql, etc. setup on my 16.04 linux ubuntu server. I can access the webpage I have createdin /var/www/html/index.php using now I want to use a domain name or even an IP address to access the server off of a local connection and on another internet connection. What do I have to do to do this I have no clue and I have no clue what to google to find out.

Answer Source

You should buy a domain name from a provider such as GoDaddy and assign it to your public IP address. Visit a public "What's my IP?" site to find your public IP address or look in your router settings to see what address was provided by your ISP. You'll probably have to enable port forwarding on your route for port 80 to

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download