homepage Welcome to WebmasterWorld Guest from 54.226.213.228
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
jbayabas




msg:4604283
 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.

Example:

www.mydomain.ca.CNAMEmydomain.ca.

Am I doing something wrong?

 

phranque




msg:4604288
 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

jbayabas




msg:4604302
 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.

phranque




msg:4604317
 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.

jbayabas




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

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

phranque




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

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

jbayabas




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

thanks. I'll check it out.

jbayabas




msg:4604958
 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