<quote who="Nathan Given"> > I have a computer sitting in the Tanner Building that I am setting up as > a server... I have some questions/issues that I have been dealing with > and really haven't found answers... > > 1) My IP Address kept changing every week > > I suppose this is because I am using DHCP to obtain an ip address. I > finally set a host in the /etc/hosts file and now my IP Address seems to > be staying the same... is that the proper way to get a "sticky" ip > address using DHCP? (or is my ip address going to change again?)
Your IP will change as often as the DHCP server decides to. Nothing you can do on the client side if you are using DHCP. > 2) How does the whole uug.byu.edu work with phantom.byu.edu? I have a > neat textbook exchange program that I would like to make available to > BYU students (for free), but I don't want people to have to type in > http://mycomputer.byu.edu/~textbook, I'd rather they type in something > like http://text.byu.edu... > (Similar to the way the uug page works... uug is actually running on > phantom as a user right? How do I set this up?) This is known as a virtualhost. What happens is that you tell Apache in your httpd.conf file to look at the URL. If it's uug.byu.edu, serve files from /home/uug. Otherwise, serve them from /var/www/html. There are examples online of how to do it. Google: httpd.conf virtualhost --Dave _______________________________________________ newbies mailing list [EMAIL PROTECTED] http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies
