Mobile app version of vmapp.org
Login or Join
Murray155

: Getting a 404 error after configuring a CNAME alias for a subdomain For my domain, I am using afraid.org's free dns service, and hostinger's web hosting. I want to point a subdomain called

@Murray155

Posted in: #Cname

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:


Hostinger Settings:

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Murray155

1 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

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 (31.170.165.131) 56(84) bytes of data.

$ ping lanparty.lsaciasi.ro
PING lanparty.lsaciasi.ro (31.170.164.32) 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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme