homepage Welcome to WebmasterWorld Guest from 54.237.98.229
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

    
My new domain won't work with WWW
jbayabas

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4604281 posted 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

WebmasterWorld Administrator phranque us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



 
Msg#: 4604281 posted 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

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4604281 posted 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

WebmasterWorld Administrator phranque us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



 
Msg#: 4604281 posted 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

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4604281 posted 11:13 am on Aug 23, 2013 (gmt 0)

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

phranque

WebmasterWorld Administrator phranque us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



 
Msg#: 4604281 posted 8:32 pm on Aug 23, 2013 (gmt 0)

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

jbayabas

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4604281 posted 2:57 am on Aug 24, 2013 (gmt 0)

thanks. I'll check it out.

jbayabas

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4604281 posted 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