Steps to convert IP address to specific url name in linux
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If it's only local and doesn't cross the internet you can modify the /etc/hosts file and assign the IP to the name. Although you'll need to do the port override at the URL with that method.
Hi,
The IP is static and can be access from any part of the world over internet.
I just want to change the IP to my own defined name.
Can you let me know the exact path where i can modify.
Hi,
The IP is static and can be access from any part of the world over internet.
I just want to change the IP to my own defined name.
Can you let me know the exact path where i can modify.
You buy the name from a registar and buy a service like noip or dyndns to point the "name" to the "ip". If it's static, you can probably forgo the 2nd service in some cases. If it's only you that will ever use the "name" then you can do that on your devices through various means, like /etc/hosts, firewall, proxies, dns caching, .... Most hosting services have decent guides on the process for public DNS lookup. If you want the "name" to be usable by anyone and everywhere by "name", then you're going to have to buy more than a computer and an internet connection. And the name has to be available and for sale.
Hi,
The IP is static and can be access from any part of the world over internet.
I just want to change the IP to my own defined name.
Can you let me know the exact path where i can modify.
Note, if the name doesn't match what is embedded in the certificate, the browser will report it as bogus.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.