I want to have my server setup so that whenever a domain is pointed at it, it shows my website.
My server right now is running WHM / cpanel. It uses ns1.trenttompkins.com and ns2.trenttompkins.com.
In my httpd.conf, is this record:
# Default vhost for unbound IPs
<VirtualHost *>
ServerName server.trenttompkins.com
DocumentRoot /usr/local/apache/htdocs
ServerAdmin
root@server.trenttompkins.com
UserDir disable
</VirtualHost>
So I would think I'd just be able to point a domain and have it work. However, when I point a random domain to the site, it doesn't work (Address not found error). I think this is because the nameserver needs to resolve miscellaneous domains to my main IP and it isn't.
Does anyone know how I can set this up?