Point example.com to webserver in DNS record
        Posted  
        
            by 
                ggstevens
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by ggstevens
        
        
        
        Published on 2014-05-30T17:09:18Z
        Indexed on 
            2014/05/31
            9:31 UTC
        
        
        Read the original article
        Hit count: 358
        
I have a Mac Mini Server (named Server) with the following DNS setup
Primary Zone: example.com
   mysql-host.example.com machine (10.0.0.101)
   server.example.com machine (10.0.0.100)
   server.example.com nameserver (10.0.0.100)
   www.example.com machine (10.0.0.102)
www.example.com is a linux box with Apache. How do I get both example.com and www.example.com to work. Right now, I can view my website with www.example.com only. I know there's nothing that points example.com to the IP, but when I create a machine record without a hostname I get an error (This machine record cannot be created without a host name.).
© Server Fault or respective owner