+ 1

How can we create & setup own unique domain for servers?

Instead of purchasing domain from godaddy or any other domain resellers, how can we get own unique domain and set them to our local Lamp/xampp servers?

3rd Apr 2017, 3:59 AM
John Watson
John Watson - avatar
4 Réponses
+ 4
you can edit the hosts files (window) or the /etc/resolv.conf (linux) so that the ip of your local server is linked to a readable domain. This solution is exclusively working within a Lan network.
3rd Apr 2017, 12:06 PM
seamiki
seamiki - avatar
+ 2
If the service you intend to set up is only local (has no exit to the Internet), you can set up a server with DNS service so that throughout your network, any name you choose as your domain name points to any machine inside your network. For instance, if you want to serve an intranet, you need to know first the IP address of the machine hosting XAMPP or the LAMP stack (from now on, the web server). Then, using a private DNS service, you should inform the other users in your network that the IP address of the web server and any made-up domain name you associate with it (a sensible election should be made, though) are equivalent. That way, whenever any user accesses to the web server using the domain name, the DNS service installed in your network will translate that to the actual IP address of the web server.
3rd Apr 2017, 4:24 AM
Felipe BF
+ 1
is there anyway to make the particular domain available for global also?
3rd Apr 2017, 4:39 AM
John Watson
John Watson - avatar
0
(I don't know if multiple answers forming a thread-ish chain is permitted) As far as I know, there is no way to make a locally chosen domain name global if not using the defined protocol: you would need a public IP address (leased from your regional ICANN registrar) that you could use with your ISP so that you hosted a public service using one of your own servers. Once you got the IP, you'd still need to lease a domain name from GoDaddy or Namecheap, depending on what you need. That's actually why such authority figures exist - to prevent random picking of possibly-conflicting public names.
3rd Apr 2017, 5:08 AM
Felipe BF