i have a problem when i write www.domainname.com
it goes to xamp controlepanel and if i write http://domainname.com
it goes to the real domain
can someone please help me out here ??
Lars, I think this is a domain name zone file issue if clearing your browser cache has no effect.
Check your domain zone file has these 2 entries. Substitute yourdomain.com's IP for the 188.8.131.52
- Code: Select all
yourdomain.com. 14400 IN A 184.108.40.206
www 14400 IN A 220.127.116.11
If the www is missing in the zone file then you will not be able to use www.yourdomain.com
in the address bar of your browser as your DNS has no way of knowing where to send the request to. It will default in your case to the localhost address.
The zone file would also have ftp
under the www
if you want to use ftp.yourdomain.com
. These are often referred to as aliases
These can be checked at your domain name service provider.