Jump to content

Since we don't have a Web Dev section of the forum I thought this section would be the most appropriate.

 

So just for giggles, I wanted to self host a wordpress site from my home server. I'm using windows 2012 with WAMP. These days many ISPs want to make you pay for a small business plan in order to get a static public IP but I found a work around by using a DDNS from NOIP.com. With the DDNS working, I processed to check and see if a quick index.html hello world sort of thing would resolve if I directed my browser (off the LAN) to my public IP. This worked. So I went ahead and bought a domain and gave it NOIP's nameservers so that everything would be happy. I proceeded to install wordpress and make a database in phpadmin for the wordpress install. With that done, I removed the original index.html I made in order to allow wordpress's index.php to be accessed by the localhost and via the internet. Localhost works fine, however, when I try and access the index.php or anything within the wordpress install I get a refused connection. But if I use another "Hello World" index.html/php I am perfectly able to access it via localhost and the internet. It seems that there is something within the wordpress install that I must change in order to make the site live but being a novice with wordpress I have come to seek help from more experienced.

 

Thanks in advanced

Link to comment
https://linustechtips.com/topic/108383-self-hosted-wordpress-issues/
Share on other sites

Link to post
Share on other sites

It sounds like your HTTP server is listening on 127.0.0.1

 

You need to configure it to listen on your servers network IP address.

My servers local IP is 192.168.1.2 and originally apache was set for localhost but I have since changed it to 192.168.1.2 but either way the test html/php files still work over the internet and the wordpress install does not. 

Also have edited host file so I can just type the website name in instead of localhost

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×