Welcome to WebmasterWorld Guest from 54.145.208.64

Forum Moderators: phranque

Message Too Old, No Replies

My new domain won't work with WWW

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

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month



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?
3:37 am on Aug 23, 2013 (gmt 0)

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



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)

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month



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)

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



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)

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month



I know a bit if ssh. How do I check the config? What command?
8:32 pm on Aug 23, 2013 (gmt 0)

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



look for a set of files typically named http*.conf
2:57 am on Aug 24, 2013 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month



thanks. I'll check it out.
1:58 pm on Aug 26, 2013 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month



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