Some questions about openSUSE/Webserver

Discussion in 'Server Operation' started by Bioforce, Nov 8, 2009.

  1. Bioforce

    Bioforce New Member

    Hey folks,

    I've installed openSUSE and want to use it as a webserver. I've followed the great HOWTO for SUSE LAMP which helped me greatly! Apache, mysql and php all work now. If i place files in the htdocs folder i can access them fine with http://192.168.1.103/filename.extension

    But i have some questions (if there silly, im sory but im new to openSUSE/Apache.

    1. How can i access the files from other computers in my home network?
    if i type http://192.168.1.103/info.php on my desktop i dont see nothing, what am i doing wrong?
    2. If i want to host a website on this webserver (something limited like the profile i had to make for school) what else do i need to do?
    3. during installation of all the programs and opensuse some packages failed to install, most often the hplib package. why is that? is it bad? and can i fix it? :p

    Thanks for your help,

    Bioforce
    New happy opensuse user :)
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Did you create or upload the info.php file to the document root of the web site?

    If your server is behind a router, you must configure your router to forward port 80 to your server. If you want to use a domain, the domain's DNS record must point to your router's public IP address.

    Can you post the exact error message?
     
  3. Bioforce

    Bioforce New Member

    Hi Falko,

    Thanks for your reply.

    as for question 1, i put the document in /srv/www/htdocs on the server.

    The error message ill post here when i can, but i have to try installing hplip again when im home.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Is that the same folder where you put the other (working) files?
    Any errors in Apache's error log?
     
  5. Bioforce

    Bioforce New Member

    I forgot to open up port 80, it works now.
     

Share This Page