问题
I install Reddit Script on my server but I can't access my installation. I try to access http://129.xxx.xx.xx
(my server IP address but is has a redirection to reddit.local and here looks to load for ever.
I install it using my automatic installer and after that I just populate the script with some data as per instruction provided in the bottom of the instruction document.
I miss something?
回答1:
You'll need to configure the hostname you used (it sounds like reddit.local
) to point to the correct place. The easiest method to do this is via an entry in your /etc/hosts
.
Does it work if you request from localhost on the server?
The install script is designed for testing (i.e. in a Vagrant VM), not production; if you're trying to set up a production website, you'll probably want to follow the manual install guide.
来源:https://stackoverflow.com/questions/36896183/cant-access-my-reddit-installation