: Site is working with http:// not with http://www My site is working if i type it as domain.com. But If I type it as www.domain.com I get an error 404 page. The domain is registered with
My site is working if i type it as domain.com. But If I type it as domain.com I get an error 404 page.
The domain is registered with Google Apps for Business and the hosting is done with another company. I have some A records that are pointing the site to this server. However, as it appears the A records are only working halfway.
What do I have to do to make it working for both and www ?
More posts by @Odierno851
1 Comments
Sorted by latest first Latest Oldest Best
Normally you would have an A record for the domain name example.com and a CNAME for www pointing to example.com or an A record for www with the same IP address as example.com.
As well, your website has to be set up for this. For example, in the Apache site configuration file often found in /etc/apache2/sites-available/ or /etc/local/apache2/sites-available/, you would need some thing like:
ServerName example.com
ServerAlias example.com
If you have another web server, you will need to research this second part for specific configuration details.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.