Search code examples
serverdnswebdebianhost

How do I host a Domain Name for my Website?


I want to host a domain name for my website, like www.mywebsite.com. I want to host a domain name, because then I will not have to pay for a premium service , like NameCheap. When users go to www.mywebsite.com, it will be my website. How can I host a domain name? I have a server running Debian 8 Jessie.


Solution

  • It's not working this way. First you need a registered domain "example.com" in some sort of hosting provider like OVh.com, then you can use apache2 to host your website