domain with and without www

April 12, 2013 30.6k views
I've created two A records in DigitalOcean web DNS config it looks like this: @ XXX.XXX.XXX.XXX www.mysite.com XXX.XXX.XXX.XXX But only mysite.com (without www) is reacheable and i can ping it. nslookup also can't find www.mysite.com what should i do to enable www subdomain?
3 comments
38 Answers

Well i have to say that i have the same problem as you and it was a headache, because i did everything in the tutorial and nothing seems to work BUT!!! i wait like an HOUR for this and then it work properly.

So this was my configuration, just as the tutorial in digitalocean here in the "CNAME" section http://bit.ly/1DL7ue3

Enter Name: www

Enter Hostname: @

Hope it helps!!

PD: My droplet has this example name: example.com (or .net if your domain is .net, etc)

Another tech for this problem

hostname = www
ip address = xxx.xxx.xxx.xxx

will for me.
go to your dns control panel and add a new A record

hostname = www.mysite.com
ip adress = your droplet ip adres etc xxx.xxx.xxx.xxx

and be sure nameservers are configured for digitalocen at your domain control panel
Maybe using the CNAME will be better solution, especially for search engines?
"www mysite.com" or "www @"
thanks. solved it with cname: www @
Name Only valid hostname characters are allowed. (a-z, A-Z, 0-9, ., _ and -) Or a single record of '@'. and Data CNAMEs can not be pointed to IP address, only domain names
Got that error when trying to set a CNAME record with both:
www IP and www.example.com IP

I could only set an A record with www.example.com IP but still not working www.example.com.

I ran into this same issue and after combining a couple of the answers above, your DNS configuration for example.com should be (with CNAME solving the www. issue):

A --> @ --> IP ADDRESS
CNAME --> * --> example.com.
NS --> ns1.digitalocean.com.
NS --> ns2.digitalocean.com.
NS --> ns3.digitalocean.com.

For google its 2 terms... always use proper webmaster guidelines.

Download and install Jio TV for PC/Laptop/Computer: Hi folks welcome to Jio world,
I believe you know more things about jio tv app and its features. if you don’t know no worries here
I will let you know about jio tv app and how to install jio TV on pc windows?.

I ran into this same issue and after combining a couple of the answers above, your DNS configuration for example.com should be (with CNAME solving the www. issue):

A --> @ --> IP ADDRESS
CNAME --> * --> example.com.
NS --> ns1.digitalocean.com.
NS --> ns2.digitalocean.com.
NS --> ns3.digitalocean.com.

I am facing the same problem as you. I did everything in the tutorial and nothing seems to work. But I wait like an HOUR for this and then it works properly.

So this was my configuration, just as the tutorial in digitalocean here in the "CNAME" section

Enter Name: www

Enter Hostname: @

Hope it helps!!

PD: My droplet has this example name: example.com (or .net if your domain is .net, etc)

Searching for a Best AC, Computer LED LCD, CCTV, Laptop and Mobile Repairing Course in Delhi. ABC Mobile Institute of Technology provides the best course which cover up all the 4 modules which are needed for expertise in technical engineer. We provide basic, advance and combo level mobile repairing courses. Contact us at 9990879879.

Good training always pays. Take training from ABC Mobile Repairing Courses - the best AC, LED LCD Tv, Printer, Camera and Mobile Repairing Course in East Delhi and get certified with the ISO certified experts. We provide internship facilities to the deserving students. Contact us now at 9990879879.

Learn technical technician from the LED LCD Smart Tv, AC, Printer, Laptop and Mobile Repairing Institute in East Delhi. We provide 4 modules in which we have all the basic and advance tricks covered. We provide free demo class also. Enroll now and get available discounts. Contact us at 9990879879.

Hi everyone,
Here the best answer for domain with and without www. I give you link.
Please click here

For More : Shayarilinks

Have another answer? Share your knowledge.