Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Aug 03, 2011 11:08 pm 
Offline
Junior Member

Joined: Sun Jul 03, 2011 4:13 pm
Posts: 20
Website: http://www.terwax.com
Location: canada
www.mysite.com works but not mysite.com - unable to create sub domains too

I followed this tutorial: http://thinkingnectar.com/2008/getti...-in-localhost/

But the links i created are not accessible. Is it to do with mysite.com not working?

I was doing stats.mysite.com and forums.mysite.com, but didnt work

Code:
Code:
$ORIGIN mysite.com.
$TTL 86400

@       IN      SOA     ns1.mysite.com.      admin.mysite.com. (
                                2010011801      ; serial number
                                28800           ; Refresh
                                7200            ; Retry
                                864000          ; Expire
                                86400           ; Min TTL
                                )

                NS      ns1.mysite.com.

                MX      10 mail.mysite.com.

ns1             IN      A       my ip
www             IN      A       my ip
tomato          IN      A       my ip
mail            IN      A       my ip
*               IN      A       my ip
forums          IN      A       my ip
stats           IN      A       my ip



Code:
<VirtualHost myip:80>
DocumentRoot /var/www/stats/
ServerName stats.localhost
<Directory /var/www/stats/>
Options Indexes FollowSymLinks MultiViews +Includes
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>


also sent:
nsdc rebuild
/etc/init.d/nsd3 restart

this is under: htc/hosts

Code:
127.0.0.1       localhost.localdomain   localhost
127.0.0.1       stats.localhost.localdomain   localhost
127.0.0.1       forums.localhost.localdomain   localhost
myip  gdghdrh.drhdrhd.com    gdghdrh


Top
   
 Post subject:
PostPosted: Thu Aug 04, 2011 3:08 am 
Offline
Junior Member

Joined: Sun Jul 03, 2011 4:13 pm
Posts: 20
Website: http://www.terwax.com
Location: canada
Also should i do the settings through ssh or use Linode's DNS manager?

Are they the same thing in the end?

I put mail and then google apps link for cname. Hope that enables mail.mysite.com


Top
   
 Post subject: I would use
PostPosted: Thu Aug 04, 2011 3:42 am 
Offline
Junior Member

Joined: Wed Jan 05, 2011 7:55 am
Posts: 29
Website: http://www.zeropointproductions.co.uk
Location: UK
the lindode dns manager as I know that works for me

the mail should go in the



MX Records
Mail Server Preference Subdomain TTL Options
ASPMX.L.GOOGLE.COM 1 Default Edit | Remove
ALT1.ASPMX.L.GOOGLE.COM 5 Default Edit | Remove
ALT2.ASPMX.L.GOOGLE.COM 5 Default Edit | Remove
ASPMX2.GOOGLEMAIL.COM 10 Default Edit | Remove
ASPMX3.GOOGLEMAIL.COM 10 Default Edit | Remove

I do not have sub domains set and do not plan to so I would read the apache2 setup pages for that. And the link you posted is 404



Hope this helps.


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