www.mysite.com works but not mysite.com - unable to create s

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:
$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
 <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

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

2 Replies

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

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.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct