I am trying to host my own web page on an Ubuntu server. I can access the webpage if I type the IP address in my web browser, but I can't if I type the domain name (a free one from Freenom).
But if I use the command curl my.domain.name
then I get the index.html contents. So, why can't I access the page via my web browser (Firefox/Chromium)?
Note that the ping
command also works fine (no packet loss). Finally, I am not hosting the web page on the same computer as the one trying to access it. So far, my best guess is that the problem comes from the web browsers or Freenom, do not hesitate to ask for more info, I will edit my post.