P
P
pacman6672014-05-21 15:48:58
PHP
pacman667, 2014-05-21 15:48:58

How to make a website on home hosting available to every Internet user?

Hello users.
I'll start with the fact that I have a computer at home that acts as a local apache + php + mysql server (I go to localhost, then I get to my site).
Now, having gained enthusiasm, I bought myself a static ip address and found out what port forwarding is in a router.
Now I want my site to be accessible to everyone from the Internet at my ip address. From all this, I have a question: will these actions be enough for me (forwarding port 80 on the router and using a static ip) to access the site for others?
upd: if there is already a solution, then poke me with your nose

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nazar Mokrinsky, 2014-05-21
@pacman667

Yes. If you also want to open a site by a domain name, set up a local virtual host so that not only localhost, but also your domain name works, and create an entry in the DNS settings of your domain A that will point to your static IP.
In general - drive in your static IP in the browser and see if it was enough or not.

A
andbiller, 2014-10-04
@andbiller

Theoretically enough, but practically - you need to check. Just "plugging in a static IP in the browser" on the same computer may not work at all. The most reliable option is to log in from another computer that is generally outside your network (that is, not after your router). You can do this very simply, without even getting up from your computer. For example, using proxy or googletranslate. If you need details on how to do this - read bovs.org/post/131/domashnii-hosting-chast-2---nast... at the end of the article

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question