Skip to main content

Thread: Apache on ubuntu 10.10 and domain


sorry if wrong section anyway:

have used old pc(amd athlon dual core,4 gb ram) make web server.i have been trying on month , installed apache2,mysql,php,in general made lamp server.i included webmin,phpmyadmin , squirrelmail.i type localhost , server page.i port forwarded , accessible using ip taking loong respond , cant establish connection( http://192.168.2.2) dont know why though

concern connecting domain godaddy,how so?

code:
<virtualhost *:80>     serveradmin webmaster@localhost      documentroot /var/www     <directory />         options followsymlinks         allowoverride none     </directory>     <directory /var/www/>         options indexes followsymlinks multiviews         allowoverride none         order allow,deny         allow     </directory>      scriptalias /cgi-bin/ /usr/lib/cgi-bin/     <directory "/usr/lib/cgi-bin">         allowoverride none         options +execcgi -multiviews +symlinksifownermatch         order allow,deny         allow     </directory>      errorlog /var/log/apache2/error.log      # possible values include: debug, info, notice, warn, error, crit,     # alert, emerg.     loglevel warn      customlog /var/log/apache2/access.log combined      alias /doc/ "/usr/share/doc/"     <directory "/usr/share/doc/">         options indexes multiviews followsymlinks         allowoverride none         order deny,allow         deny         allow 127.0.0.0/255.0.0.0 ::1/128     </directory>  </virtualhost>
all have add servername "www.site.com" , serveralias "www.site.com" , im done?is simple or wrong somewhere?

ubunters!

not necessarily. if hosting 1 site on server, need ensure "default" works properly. not have include servername , serveralias. if plan on having more 1 virtual host, might suggest leave default alone , create new configuration file in /etc/apache2/sites-available different file name, other default , use a2ensite create symbolic link in /etc/apache2/sites-enabled.

also, may need use tool wireshark or tcpdump see if requests making server , port forward working correctly. apache logs great source of information, /var/log/apache2/error.log

furthermore, several isp's restrict traffic on port 80 way prevent people running web servers homes.

hope helps.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Apache on ubuntu 10.10 and domain


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account