Is it possible to display an html page when querying a domain name tied to your computer?

On my home ISP service activated external IP address and the domain name is directed to this IP, that is, if you are running any server (for example, the same Open Server), typing in the browser for this domain people will see what is open for that domain to the Open Server. it is Possible to make it so that when running the server on this address to display the html page located somewhere on my computer?
April 19th 20 at 12:04
4 answers
April 19th 20 at 12:06
Solution
No, it is impossible. Something has to process the request on 80 port.
@lillie.Jon that Apache does? - jermey34 commented on April 19th 20 at 12:09
@jermey34, in any web server. Including Apache. - lillie.Jon commented on April 19th 20 at 12:12
April 19th 20 at 12:08
Solution
And who, forgive the request is processed and the page displays - the Pope? :)
@kirsten_Dach the question is who can do it except heavy Open Server and that is running not always. In all the time enabled computer, so you don't have everytime to start the server. - jermey34 commented on April 19th 20 at 12:11
@jermey34will launch the lightweight Nginx. Only his need to stop before you run OpenServer and run after. - lillie.Jon commented on April 19th 20 at 12:14
Search in Google the phrase 'lightweight web server' or 'minimal web server'.
In the search bar to add the name of your operating system. - katharina.Kulas commented on April 19th 20 at 12:17
April 19th 20 at 12:10
It is possible to make it so that when running the server on this address to display the html page located somewhere on my computer?

No. That the client received the page, the server should give it back. To do this he must listen to the standard port to wait for the request to him.
But. You can put-choose to create another server that will weigh in the tens or even hundreds of times less than the monster OpenServer, which is a processor for developing in PHP + MySQL + ... , and this "little" to put on autostart at system startup, for example.

However in this case, when running the OpenServer he swore to you that someone has already occupied its port.
What server can you recommend? - jermey34 commented on April 19th 20 at 12:13
@jermey34, you can look at nginx, Lighttpd, but the same Apache. - joyce commented on April 19th 20 at 12:16
April 19th 20 at 12:12
You can dig into the side of caching and CloudFlare. NS will need to send the domain to CloudFlare. In the DNS records on CloudFlare to register just your IP as A record. And to force CloudFlare to cache asuu HTML page. Then she the idea will continue to pokazyvatsya even when the computer is off. https://support.cloudflare.com/hc/en-us/articles/3...

Find more questions by tags Web DevelopmentWindowsHostingDomain name system