0

I have just followed the Setting up an NGINX web server on a Raspberry Pi tutorial on the RPi Site.

Now, I'm going to follow a tutorial on setting up say a Django webpage. What I'm not clear on and need to connect, is where/how do I now set up a custom web page that's accessible via the NGINX Server?

Overall, I just want to visit (say) 192.168.0.1 (or whatever my Pi's IP is) on a local network and have my custom webpage show up.

Then, later on, I might design another web page that does something totally different, so would like to "swap out" the site info so visiting the my RPi's IP goes to that new page.

asked Jan 20, 2020 at 3:53

1 Answer 1

1

Overall, I just want to visit (say) 192.168.0.1 (or whatever my Pi's IP is) on a local network and have my custom webpage show up.

If you didn't change any config file of Nginx (I mean root section of /etc/nginx/sites-available), you can put your .html file into this location:

/var/www/html 

In addition, read this simple documentation to configure the Nginx service.

answered Jan 20, 2020 at 7:38

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.