On Monday 21 March 2005 10:19 am, Michael Moore wrote: > Question 1) > How to I get "http://stuporglue.com" to be associated with that IP > address? stuporglue.com is hosted on the server root
Set the server's documentroot to be the directory containing the stuporglue.com website. Create DNS entries for stuporglue.com (and probably www.stuporglue.com) that point to your IP address. > Question 2) > The other sites are in uers ~/public_html directories. How do I get > their domain names to point to those directories? I don't want the end > user to see "http://stuporglue.com/~caroline". > ie. > http://itscaroline.com to go to /home/caroline/public_html > > What do I need to do on the server, and with the domain names on godaddy? This is called name-based virtual hosting. In your main httpd.conf you need a NameVirtualHost * directive. Then do a <VirtualHost *> section for each virtual host. You can define the documentroot and other properties witihn each section. See the apache docs for details. Set all the domain names to point to the same IP address. JN -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
