Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Nov 15, 2012 8:29 am 
Offline
Newbie

Joined: Thu Nov 15, 2012 8:22 am
Posts: 4
My primary domain is working fine on LINODE.. all is well

I am trying to setup subdomains i.e

development.mydomain.com

created the virtual name conf file in sites-avaialble, and made the site avaialble , ServerAlias is set to www.development.mydomain,com (also tried without the www) in that file.. all the other entries double checked, document root points to right place,

I have created the document root, extracted some basic test files. and restarted apache (no errors returned).. CHMOD'ed appropriate permissions to the webfiles

I have added development.mydomain.com to the hosts file and made it point locally

site STILL wont load.. I dont think it is even being found

I have read multiple general guides to help get this setup and now concede defeeat

Do I have to add a new entry in DNS? will this be a slave or a master.. as thats the only thinkg left to test, but I suspect that change will take time to propegate so before I go down that route and wait for nothing.. i would like to confirm its correct


Top
   
PostPosted: Thu Nov 15, 2012 8:33 am 
Offline
Newbie

Joined: Thu Nov 15, 2012 8:22 am
Posts: 4
or maybe an aaaa record?


Top
   
PostPosted: Thu Nov 15, 2012 8:50 am 
Offline
Senior Member

Joined: Mon Dec 20, 2010 11:37 pm
Posts: 76
You need an A Record in your DNS named "development" pointing to your Linode IP.
You don't need to modify hosts file, that's only for your VPS. This way, your home computer (and any external computer) doesn't know what is development.mydomain.com.

Alternatively, if you don't want to modify your DNS, you can modify your home computer hosts file (http://en.wikipedia.org/wiki/Hosts_%28f ... ile_system), so only that computer will know how to get development.mydomain.com.


Top
   
PostPosted: Thu Nov 15, 2012 9:30 am 
Offline
Senior Member
User avatar

Joined: Tue Jan 04, 2005 7:32 am
Posts: 277
Website: http://www.betadome.com/
Location: Ă…lesund, Norway
Skype: neonnero
Twitter: neonnero
leecymj wrote:
or maybe an aaaa record?

DNS "A" records are for IPv4 addresses (eg. 192.168.1.2), while "AAAA" records are for IPv6 addresses (eg. 2001:0db8:85a3:0042:0000:8a2e:0370:7334).


Top
   
PostPosted: Thu Nov 15, 2012 9:56 am 
Offline
Newbie

Joined: Thu Nov 15, 2012 8:22 am
Posts: 4
Appreciate the speedy response AND lack of mocking, and the little snippet of IP6 info.

All working now.. i have been spoilt by previous webhosts that do it for me.. so that caught me on the hop.


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


Who is online

Users browsing this forum: No registered users and 1 guest


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