For my domain, I am using afraid.org's free dns service, and hostinger's web hosting.

I want to point a subdomain called lanparty. I have created a CNAME for it in freedns. In freedns service's dashboard, I have added the CNAME entries and in hostinger control panel as well but it's forwarding me to a 404 hostinger page.

Freedns settings: The freedns settings

Hostinger Settings: Hostinger settings

  • Have you tried adding a full stop (.) to the end of the destination? – Andrew Lott Feb 13 '16 at 10:46
  • If I add (.) to the end of destination in the freedns settings it throws me this is not a valid address – Andrei Bratuleanu Feb 13 '16 at 10:50
  • Tried using A record lanparty to IP rather than a cname? – Simon Hayter Feb 13 '16 at 11:45
  • developer.test is on hostinger? – DavChana Dec 10 '16 at 7:49
  • developet-test.w.pw link shows no website, just a note that this site is not developed. Coukd this be the problem? – DavChana Dec 10 '16 at 7:55

It seems likely that you managed to configure the CNAME correctly. You can test it by using ping and ensuring that both host names report the same IP address.

$ ping developer-test.w.pw
PING developer-test.w.pw ( 56(84) bytes of data.

$ ping lanparty.lsaciasi.ro
PING lanparty.lsaciasi.ro ( 56(84) bytes of data.

Right now they are not resolving to the same IP for me, but my guess is that they were when you took the screenshots.

The 404 error probably indicates that the destination machine is not configured to serve content for the domain name that you are pointing at it. You would need to modify the webserver configuration of that machine and at a virtualhost configuration for your new subdomain.

| improve this answer | |
  • Yes, correct, +1, same happens if you point any CNAME to gitlab/tumblr etc, but had not configured gitlab/tumblr to receive that subdomain. Gitlab/tumblr just shows 404 page. – DavChana Dec 10 '16 at 7:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.