homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

My new domain won't work with WWW

 2:58 am on Aug 23, 2013 (gmt 0)

My new domain with .ca extention won't work with www.

mydomain.ca works but not www.mydomain.ca - I get a "Web Server's Default Page" instead.

I changed the dns setting and added a CNAME but still won't work.



Am I doing something wrong?



 3:37 am on Aug 23, 2013 (gmt 0)

when you do an nslookup of www.example.ca does it return the correct IP address?
does the server on that IP address have a virtual host configured for that hostname?

if i had to guess your server is configured to accept requests for wildcard subdomains and the default server is getting these requests.

you should see one of the following somewhere in your server config:
ServerName www.example.ca
ServerAlias www.example.ca


 5:06 am on Aug 23, 2013 (gmt 0)

The www returns to the correct ip.

I'm using plesk. How do I configure a virtual host to hostname and how do I add servername and serveralias?

Really new to all this programming thing.


 6:34 am on Aug 23, 2013 (gmt 0)

i normally just edit the server config file and restart the server.
if i were using plesk there's no "programming" involved and i would consult the documentation.


 11:13 am on Aug 23, 2013 (gmt 0)

I know a bit if ssh. How do I check the config? What command?


 8:32 pm on Aug 23, 2013 (gmt 0)

look for a set of files typically named http*.conf


 2:57 am on Aug 24, 2013 (gmt 0)

thanks. I'll check it out.


 1:58 pm on Aug 26, 2013 (gmt 0)

Through research i've finally found the solution. I had to deactivate/suspend the domain and then activate it again. It works now!

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved