You Rock Mark, Yes I believe it will help greatly! Thanks, Cary Pembleton IT Consultant PC Tech Help, LLC 32 Cove Lane Campbellsville, KY 42718 (270) 789-0187 Office http://www.pctechhelp.net
-----Original Message----- From: Mark Grieveson [mailto:[EMAIL PROTECTED] Sent: Monday, August 07, 2006 11:47 AM To: [EMAIL PROTECTED] Subject: Re: apache --SOLVED Cary Pembleton wrote: > Nice Job Mark, > I checked it out and it works fine and looks fine from a public IP. > Now if I could figure out how to do this, I would be thrilled! :o) > Disclaimer: I am an IT consultant for Microsoft Products, Cisco, Adtran. > Etc. not Linux or Apache/Apache2 in this arena, I am definitely a > "lightweight". > Respectfully, > > > Cary Pembleton > IT Consultant > PC Tech Help, LLC > 32 Cove Lane > Campbellsville, KY 42718 > (270) 789-0187 Office > http://www.pctechhelp.net > > > -----Original Message----- > From: Mark Grieveson [mailto:[EMAIL PROTECTED] > Sent: Monday, August 07, 2006 3:38 AM > To: Debian User > Subject: Re: apache --SOLVED > > >> On 08/06/2006 09:37 AM, Mark Grieveson wrote: >> >>> [...] >>> Does anyone have any tips for ensuring that an apache setup reaches >>> the world at large (beyond the local host)? >>> >>> Mark >>> >>> >> Hello Mark. >> >> Install 'apache-doc' and read the documentation in >> /usr/share/doc/apache-doc to learn how to configure apache. >> > RTFM, yes, always good advice. Anyway, I think I did get apache > going, by both reading the manual, and tinkering. At first it stated, > "debian:/home/mark# apache2 -k restart > apache2: Could not determine the server's fully qualified domain name, > using > 127.0.0.1 for ServerName". > So, I added a ServerName entry with my IP address, and then added a > virtual host entry in the file 000-default file. I think this works. > My site is http://www.opseu540.info (if someone could confirm they see > the site via emailing me, I'd appreciate it). > > Hi Cary. Thanks for getting back to me. I'm glad it finally works. I had thought it was working for the past week, but then realized that I was the only one seeing it (on the local host). I'm not sure if what I did would be helpful to you, but on the off-chance that it might, here it is: To the file, /etc/apache2/apache2.conf, I added: ServerName 123.456.789.123 (the #s being the IP address of the server computer). On my system, this was necessary, because the server had been set as the localhost initially (127.0.0.1). Such a change may not be necessary on your system. I discovered that it was only serving the localhost when I ran the command to start apache2, which is "apache2 -k start". After each change I made, I would run "apache2 -k restart" to test it. This was quite different than it had been on Sarge with apache 1.33. There, the command was "rcapache start" to start it. Or, I could simply use Webmin. To the file , I added: # Marks shit <VirtualHost *> ServerName www.opseu540.info ServerAlias opseu540.info *.opseu540.info DocumentRoot /home/mark/public_html </VirtualHost> # End Marks shit I got this from the example file /usr/share/doc/apache2/examples/apache2.conf After tinkering, I decided that virtual hosts didn't belong in apache2.conf (despite the example); so, I put it in the /etc/apache2/sites-enabled/000-default file instead. The example had other stuff like "ServerAdmin" entry and "ErrorLog" entry, but I figured that's just frilly stuff -- I simply wanted to get the site served first. The 000-default file is a pointer to /etc/apache2/sites-available/default file. I wanted to be able to set it up as a virtual file, just in case I want other sites to be run from this server. At the moment I have only this one site. The comments "# Marks shit" was just to clearly note for myself where I had made changes. Anyway, good luck with getting it going. Lemme know, and then I can be the one confirming your site. Mark -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

