Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Jun 09, 2013 6:59 am 
Offline
Senior Newbie

Joined: Wed Jun 05, 2013 2:58 am
Posts: 13
Hi all,

I still one question, and I didn't really find answers yet…

I try to use my domain name (bought on IWantMyName) on my brand new Linode…

I made the necessary changes in IWantMyName to reflect Linode DNS, not really hard, even for me.
After I follow the Linode tutorial, and it works after two hours.

And it stop working this morning, without making any changes on my Linode panel.
I start it again, adding the "www" on my reverse DNS panel, and it work again, but only when I use the "www", otherwise it won't.

www.simonalibert.com
[url=simonalibert.com]simonalibert.com[/url]

Should I use the "www" or not? And how I can make both working? (with "www" and without)
Thanks you very much!
-
Simon

_________________
Web enthusiast & amateur photographer.


Top
   
PostPosted: Sun Jun 09, 2013 7:24 am 
Offline
Junior Member

Joined: Sun Jun 24, 2012 4:27 pm
Posts: 29
Both http://www.simonalibert.com and http://simonalibert.com take me to the same page, so I'm not sure you have a problem. Your rDNS should match the hostname set on your server. If your server's hostname is www, then make it that. However, rDNS doesn't have an effect on whether having the www there or not will take someone to the same page.


Top
   
PostPosted: Sun Jun 09, 2013 7:45 am 
Offline
Senior Newbie

Joined: Wed Jun 05, 2013 2:58 am
Posts: 13
bacon wrote:
Both http://www.simonalibert.com and http://simonalibert.com take me to the same page, so I'm not sure you have a problem. Your rDNS should match the hostname set on your server. If your server's hostname is www, then make it that. However, rDNS doesn't have an effect on whether having the www there or not will take someone to the same page.


Thanks!
That's weird! I constantly have errors if I try to reach my domain name without the "www"…
I tried with all browsers, devices, etc. :shock:

BTW, it's better to add the "www" when setting up the DNS panel in Linode (Adding DNS Records & Reverse DNS tabs)?
Thanks again

_________________
Web enthusiast & amateur photographer.


Top
   
PostPosted: Sun Jun 09, 2013 8:14 am 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
Without www does not work for me. You'll have to add a record with no name and the IP of your Linode in the DNS manager.Then it'll resolve without www as well.


Top
   
PostPosted: Sun Jun 09, 2013 8:29 am 
Offline
Senior Newbie

Joined: Wed Jun 05, 2013 2:58 am
Posts: 13
Nuvini wrote:
Without www does not work for me. You'll have to add a record with no name and the IP of your Linode in the DNS manager.Then it'll resolve without www as well.


Thanks Nuvini for your answer.
Unfortunately, I don't understand what you mean by "no name".

This is what I've use for my virtual host

Code:
# domain: simonalibert.com
# public: /home/simon_alibert/public/simonalibert.com/

<VirtualHost *:80>
  # Admin email, Server Name (domain name), and any aliases
  ServerAdmin hello@simonalibert.com
  ServerName  www.simonalibert.com
  ServerAlias simonalibert.com

  # Index file and Document Root (where the public files are located)
  DirectoryIndex index.html index.php
  DocumentRoot /home/simon_alibert/public/simonalibert.com/public

  # Log file locations
  LogLevel warn
  ErrorLog  /home/simon_alibert/public/simonalibert.com/log/error.log
  CustomLog /home/simon_alibert/public/simonalibert.com/log/access.log combined
</VirtualHost>


Thanks again for your time (both of you)

_________________
Web enthusiast & amateur photographer.


Top
   
PostPosted: Sun Jun 09, 2013 8:36 am 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
Without a name - like this:
Image


Top
   
PostPosted: Sun Jun 09, 2013 8:54 am 
Offline
Senior Newbie

Joined: Wed Jun 05, 2013 2:58 am
Posts: 13
Thanks (again) Nuvini!
It's weird, the blank name was already there.

Screencaps of my Linode Panel

Maybe I should change my setting, to add the "www" to my domain, in my linode panel DNS records ?

_________________
Web enthusiast & amateur photographer.


Top
   
PostPosted: Sun Jun 09, 2013 9:03 am 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
simon* wrote:
Thanks (again) Nuvini!
It's weird, the blank name was already there.

Screencaps of my Linode Panel

Maybe I should change my setting, to add the "www" to my domain, in my linode panel DNS records ?


Not sure what you mean - you already have a www record according that that screenshot.

However, it seems that I can now resolve simonalibert.com without www as well:
Code:
dig a simonalibert.com  

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> a simonalibert.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60181
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;simonalibert.com.              IN      A

;; ANSWER SECTION:
simonalibert.com.       21586   IN      A       109.74.206.109

;; Query time: 8 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Sun Jun  9 15:03:26 2013
;; MSG SIZE  rcvd: 50


So looks good right now :)


Top
   
PostPosted: Sun Jun 09, 2013 10:08 am 
Offline
Senior Newbie

Joined: Wed Jun 05, 2013 2:58 am
Posts: 13
Thanks again for your help!

I updated and remove the www in my Linode panel.. It look correct now but none of them work anymore, I guess I should wait a little… :)
Thanks again

/* Edit

I really don't get it, now it work only with "www" and not without.. :roll:

*/

_________________
Web enthusiast & amateur photographer.


Top
   
PostPosted: Sun Jun 09, 2013 10:54 am 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
You removed the www? Why? Do you only want to use it without www? It was fine as you showed it in your last screenshot.

As for resolving, both www and none www seem to resolve fine at the moment:
Code:
dig a simonalibert.com @ns1.linode.com    

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> a simonalibert.com @ns1.linode.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51684
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;simonalibert.com.              IN      A

;; ANSWER SECTION:
simonalibert.com.       86400   IN      A       109.74.206.109

;; AUTHORITY SECTION:
simonalibert.com.       86400   IN      NS      ns4.linode.com.
simonalibert.com.       86400   IN      NS      ns3.linode.com.
simonalibert.com.       86400   IN      NS      ns2.linode.com.
simonalibert.com.       86400   IN      NS      ns1.linode.com.
simonalibert.com.       86400   IN      NS      ns5.linode.com.

;; Query time: 132 msec
;; SERVER: 69.93.127.10#53(69.93.127.10)
;; WHEN: Sun Jun  9 16:53:14 2013
;; MSG SIZE  rcvd: 147


Code:
dig a www.simonalibert.com @ns1.linode.com

; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> a www.simonalibert.com @ns1.linode.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60412
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;www.simonalibert.com.          IN      A

;; ANSWER SECTION:
www.simonalibert.com.   86400   IN      A       109.74.206.109

;; AUTHORITY SECTION:
simonalibert.com.       86400   IN      NS      ns3.linode.com.
simonalibert.com.       86400   IN      NS      ns5.linode.com.
simonalibert.com.       86400   IN      NS      ns2.linode.com.
simonalibert.com.       86400   IN      NS      ns1.linode.com.
simonalibert.com.       86400   IN      NS      ns4.linode.com.

;; Query time: 132 msec
;; SERVER: 69.93.127.10#53(69.93.127.10)
;; WHEN: Sun Jun  9 16:54:41 2013
;; MSG SIZE  rcvd: 151


Top
   
PostPosted: Sun Jun 09, 2013 11:14 am 
Offline
Senior Newbie

Joined: Wed Jun 05, 2013 2:58 am
Posts: 13
Thanks again for your time, I really appreciate it!
Frankly, I don't understand what happend.

Both access seems to work, I've just asked friends to check it out..
But on my laptop, it does not!
And the most unbelievable things, it doesn't not work on my iPhone when it's connected with Wifi, but it work when I use 3g.

Thanks again!

_________________
Web enthusiast & amateur photographer.


Top
   
PostPosted: Sun Jun 09, 2013 11:21 am 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
Probably some DNS Caching. Will just have to wait that out.


Top
   
PostPosted: Sun Jun 09, 2013 2:54 pm 
Offline
Senior Newbie

Joined: Wed Jun 05, 2013 2:58 am
Posts: 13
Nuvini wrote:
Probably some DNS Caching. Will just have to wait that out.


Thanks again, it work perfectly now!

_________________
Web enthusiast & amateur photographer.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group