Welcome! Log In Create A New Profile

Advanced

how to start serving

Posted by roboticmehdi 
how to start serving
September 26, 2017 10:03AM
Hi. I am new to here and web stuff, haven't used apache before. Today I installed nginx for the first time, but all this stuff seems so hard to me. Why does it have to be so hard and complicated. Anyways, to begin with, I want to host a static website on my pc. It is simple html file that doesn't even have pictures in it, just some text. And I want it to be accessible from the internet. Anybody who type http://my.ip.add.ress in their browser must receive my webpage. This is how it works right? but don't know how to configure nginx to do that. please help. so far what i did, I edited index.html so it contains my text, when i type localhost in google chrome, that text is shown, but my friend who lives in other country says it doesn't work. how to make mywebpage go online?
Re: how to start serving
September 27, 2017 06:00AM
Hi, anybody here ? forum seems very passive.
Re: how to start serving
October 30, 2017 11:26PM
Try to read the /etc/nginx/conf.d/default you might get an idear there :)

else please read the https://nginx.org/en/docs/ there are plenty of starter guides
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 279
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready