DNS name for Localhost

Hello Guys,

Can we rename the http://localhost:8000 to http://customname.com for the local servers.


If you working behind a LAN, with a private IP, you will need to add a DNS record on a localised DNS server. Possibly your router can handle this is not

Or you can use port forward if you have a static IP assigned to your router to access via the Internet, then create a DNS A record with whoever you host your DNS with