i have VPS with installed cpanel/Whm...
After installing on Ubuntu, only seeing the "welcome to nginx" page
-
@selmank please provide the output of the following commands:
ls /etc/nginx/sites-available
ls /etc/nginx/sites-enabled
-
@selmank Can you see the site by going to a web browser on the host machine an typing localhost:4567 ? You will get a privacy error just so you know, but can you get there?
-
@pitaj
gave an output as follows -
@dunlix I do not know how to do it. I haven't configured the machine for this, I just access it with nodebb, mongo, nginx installed and putty.
I am using aws ec2 ubuntu.[Edit]
is there any way to do this with putty? -
Can you try
sudo systemctl restart nginx
If that doesn't work, try
sudo rm /etc/nginx/sites-enabled/default
Then run the restart again
-
@selmank in order to request locally you can use curl:
curl http://localhost:4567
-
@pitaj you are perfect.!
worked and the nodebb forum is online. I am very happy.
thank you so much. -
-
@selmank I'm glad to hear that problem solved
-
@nubi-kr same