Im pretty new to networking and am trying to build my first website. I've set up my lamp server and created the site on localhost. Now I've got my domain pointing to my IP and port forwarding is set up on my router for it. Problem is, I can only access the site from a mobile device but even then it doesn't render fully. It only gives me text. If I try to click on any links, it tries to open localhost instead. On anything but a mobile browser, the page doesn't load at all.
Any clue on the issue? I think that solving the siteurl/home issue would also solve the first problem. So how do I get it to save these settings?
UPDATE: I added the following code to the wp-config.php file.
define('WP_HOME','mysite.com'); define('WP_SITEURL','mysite.com'); Now its all working for the most part but my home link still tries to take me to localhost. Also still having the same issue with the site loading on phones only.