Web server Domain issue

Hello everyone!

I’m building a local web server with lighttpd server and I have a web page index.html in a USB attached to my router.

I would like to know if it is possible to open this web page using a domain name?

Ex:

Currently I access to the web page using de server IP. 192.168.1.2/index.html

How can i access to the web page using “ Mydomain.abc ”

Any code guide would be great!! :sob:

I’ve been reading a lot, but i cant find a solution.

Thanks.

It's not a web server issue, but DNS.

Make sure you local DNSmasq replies with you 192 IP to that dns name.

If you own a public domain, map the 192 IP to somename.yourdomain.com.

Or hard code it, by adding it to the hosts file in your clients.

2 Likes
2 Likes