Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Using another hosts DNS
PostPosted: Thu Mar 08, 2012 8:39 am 
Offline
Newbie

Joined: Thu Mar 08, 2012 8:34 am
Posts: 3
Hey,

I'm still very new to VPS and DNS stuff, but I'm wondering if I can set up a DNS with some other Hosting I have to point a sub-domain to my Linode server. For example:-

Have mobile.mysite.com go to my Linode server.
While still keeping www.mysite.com on the current hosting.

I tried creating a DNS zone pointing to my servers IP address using an A (host record), but it doesn't seem to point to anything. I'm guessing I might have to set something up on the server.


Top
   
 Post subject:
PostPosted: Thu Mar 08, 2012 9:07 am 
Offline
Junior Member

Joined: Sat Feb 18, 2012 12:26 pm
Posts: 24
Yes you can do that. Where did you set up the A record? It needs to be on the other host that's looking after mysite.com, not the Linode DNS manager.


Top
   
 Post subject:
PostPosted: Thu Mar 08, 2012 9:56 am 
Offline
Newbie

Joined: Thu Mar 08, 2012 8:34 am
Posts: 3
It might have just been the server ticking over, but I gave it a couple of hours and the site popped up. As said I set the DNS on the other site (not Linode) and it's coming through.


However just wondering here, is there any way of telling my server to goto a specific root folder from this address; as at the moment it goes to the default folder page. Normally I'd create a file in the /etc/apache2/sites-available/ and the server should send the user to the correct path. I believe it corisponds with Linodes DNS so if the DNS is on another host, is there still a way of doing it?!


Top
   
 Post subject:
PostPosted: Thu Mar 08, 2012 10:13 am 
Offline
Junior Member

Joined: Sat Feb 18, 2012 12:26 pm
Posts: 24
Do it the usual way you have before to configure virtual hosting. The DNS sends the user to your server - the webserver then uses the mobile.mysite.com name to select the right virtual host. You don't need Linode's dns for this to work.


Last edited by vickd on Thu Mar 08, 2012 11:04 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Thu Mar 08, 2012 10:29 am 
Offline
Newbie

Joined: Thu Mar 08, 2012 8:34 am
Posts: 3
Ah brilliant, got it all working. :D


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