Hi, Recently i bought one website from one person. Changed NS details in my domain control panel rightafter transferred domain from his account to my account. Now 30+ hours already passed. Uploaded all files given by seller. Now the problem is i can't open main page by typing www. domainname.com as i am getting below given error. But strange thing is that if i enter www. domainname.com/index.html then main page open very well and same with other pages (all working fine). Can anybody tell me how to sort out this problem I think i have posted this thread in right section of this forum. DON.
Did you setup the www alias in dns config on your server? I'd say from the sound of it your dns is working for the first domain but you forgot the alias and you din't configure apache. oorr your not redirecting correctly /urls or you have .htaccess issues mod rewrite and such. So first i'd check if you are indeed serving the www. urls or if there coming from the old server it was on. Then if not it's time to check your logs. I'm guessing your on a dedi otherwise you'd be complaining to your host.
Actually i have other 2 sites already there on this hostings (shared hosting) and both are working fine there. Previously added domain in this hosting (through addon domain option). Then whats wrong this time ? DON.
Check the value of Apache's DirectoryIndex setting. Looks like it isn't set to "index.html" and therefore gives an error.
Where to check this I don't know much on hosting server side. DON. Edit: Problem solved with the help of DP member dotcompals. Thanks mate.