Setting up DNS for a domain... (More confusing then I thought!)
I recently purchased a domain from Netfirms.com with free hosting (banners and all!). I plan on using my own server, which is in my own home, to run the website. I don't plan on a lot of traffic, nearly none. I am doing this for 60% education and 40% fun. I have directed the domain to my server to see if my ISP would allow it. It worked!!!
The only problem is that when I typed in my domain name it would bring up my IP address in the address bar after the page loaded.
I'm using This Guide but it's a little over my head. Does anyone have any other guides or info they could suggest? I'm running Ubuntu Server with no GUI, if that makes much of a difference.
Apache2... yep, default setup.
I'm running Apache2 and have installed BIND9 and Sendmail... that's pretty much the only configuration I've done to the server.
I've configured my Linksys router so that the server always has the same IP on the network and it's also set up as a virtual host... I can view webpages from the internet just fine.
Just curious, does the auth-nxdomain option in /etc/bind/named.conf.options need to be set to yes?
You asked for the VirtualHost section...
My http.conf is empty...
/etc/apache2/sites-available/default and it looks like /etc/apache2/sites-enabled/000-default has the same code:
Options Indexes FollowSymLinks MultiViews
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
RedirectMatch ^/$ /apache2-default/
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Allow from all
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
Options Indexes MultiViews FollowSymLinks
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128