NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
simple apache2 setupWhat Im trying to do I know is fairly simple yet one of those things you dont do too often so you tend to forget the little details (not to mention changes to the software that certainly have happened)... REAL basic...REAL simple: I'm trying to get apache2 running a web page. I'm running debian. -Dont care about cgi or perl or ssl, etc, just a basic web page. After the fresh debian w/apache2 install on the newer PC, I type "localhost" and got "It works!" message in the browser. :) I drop the web files into /var/www and type localhost and I -do- get the web page. :) I go to another PC and type the address but it cant be found, even though its static IP has been plugged in. (the web page is working now but only because I put back the older PC :( From other "outside" connections, it cant be seen. Should be working just like the older one that's up and running now. What simple, yet important edits have I forgotten or need to recheck? Has anyone recently set up apache2 and can help - what, if any, configuration files did you have to edit? TIA David |
Re: simple apache2 setup
apache2 configurations files are under /etc/apache2, under this directory /etc/apache2/sites-available, you have create new site conf files. or you can copy these site conf files from old pc. after copy these files, you need enable these web site by using command "a2ensite website-conf-filename" then reload apache2. see if its works??