Is there any way to create your own domain name instead of purchasing???
The Internet Corporation for Assigned Names and Numbers (ICANN) is the international governing body that has responsibility managing the Domain Name System (DNS). Basically they sell the rights for registering domain names to corporations (click here for a full list of domain registrars). You can become a registrar, but it's probably not something you want to do if you're only after registering a few domain names.
Some solutions that might work locally (on your home / office network):
- You could set up a DNS server on your network.
- You could also edit
/etc/hostsbut that will only work on the computers you do it on. If you are managing a large number of computers, consider using a DNS server instead.
Or you could check out services that provide free DNS services, such as no-ip.com, as mentioned in the comments.
Finally, there are illegal solutions which will land you in jail in short order, a very bad deal instead of paying $2 or so.