Mobile app version of vmapp.org
Login or Join
Bryan171

: Have a website, domain, and a server at home. How to connect the domain to the server I have an Ubuntu 16.04 server running LAMP, a fully built website on it, and a domain purchased from

@Bryan171

Posted in: #Domains

I have an Ubuntu 16.04 server running LAMP, a fully built website on it, and a domain purchased from GoDaddy.

This is the first time I've tried hosting a website publicly, so I'm hazy on the details concerning domains. What do I need to do on GoDaddy so that when I type mysite.com into a browser, it serves up the mysite.com/public/index.php page from my server?

If this is a matter of creating an A Record (which is what some Googling around has suggested might be applicable here), some guidance in what setting to alter and what values to enter in would be much appreciated.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Bryan171

1 Comments

Sorted by latest first Latest Oldest Best

 

@Reiling115

Firstly you NEED a static IP address. Try browsing to that IP address from a remote computer (or phone) to ensure that your LAMP setup is working.

Note: you may need to setup port forwarding on your router and open port 80 for HTTP traffic.

Once that's all ok you can go to your GoDaddy control panel domain DNS settings and set an A Record or nameserver as your Static IP address.
Good luck.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme