Intranet Web Server

Discussion in 'Server Operation' started by mainestratman, Oct 4, 2007.

  1. mainestratman

    mainestratman New Member

    Greetings all,

    I'm attempting to set up a simple webserver for intranet use only. I would love to have ISPConfig on it (to play around with it more than anything else, really), but am a little gunshy after my first attempt at installation and it completely locked everything up on me.

    I attempted to follow Falko's "Perfect Fedora 7 Server" instructions, however I am loading up Fedora 7 using the "LiveCD" option, which is the only option I currently have.

    My biggest question is that I have no hostname or a need for a hostname, since I can just run this server via a static IP address, so how would that affect the /etc/hosts file, if at all?

    I'm also having issues accessing phpMyAdmin, but I'm 99% certain that stems from the whole host/localhost quandry I'm in.

    Any input/idea would be appreciated, and thank you so much for this site and forums... such a wealth of information I've stumbled across. :)
  2. giganet

    giganet New Member

    You could try something like this in '/etc/hosts'

    Code: localhost.localdomain localhost localhost.localdomain MyServer
    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    Note: replace 'xxx' with your internal IP

    After you have edited '/etc/hosts' and saved it as above run 'hostname' then run 'hostname -f'.
    On both accounts you should see 'localhost.localdomain' as you host name.

    Now run 'shutdown -r now'

    You may have to edit your firewall to allow certain activities too??

    Hope this helps somewhat.

  3. mainestratman

    mainestratman New Member

    Hi giganet,

    Thanks for the response... for giggles, this is what I tried just before I got your message and everything seems to be working splendidly:

    # Do not remove the following line, or various programs
    # that require network functionality will fail.	localhost.localdomain	localhost	intraweb
    ::1	localhost6.localdomain6	localhost6
    Since the F7 box is safely tucked behind all the LAN security, I completely disabled the firewall on it... and actually decided I'm not going to use ISPConfig on it, but may keep it there to play around with it.

    Although.. I still can't access my phpMyAdmin.. not that it's a major issue at this point.
  4. giganet

    giganet New Member

    Do you receive any errors when trying to access 'PHPMyAdmin'?
  5. mainestratman

    mainestratman New Member

    Not Found
    The requested URL /phpmyadmin was not found on this server.
    Apache/2.2.6 (Fedora) Server at Port 80

    Not Found
    The requested URL /phpmyadmin was not found on this server.
    Apache/2.2.6 (Fedora) Server at Port 81
  6. giganet

    giganet New Member

    Are you able to log onto mysql using:
    mysql -u root -p
    Do you also have mysql-client installed on your server?

  7. mainestratman

    mainestratman New Member

    Yes and yes.

    I'm already running a php/mysql program on the server (dotproject).. works perfectly.
  8. giganet

    giganet New Member

    Which version of PHP are you running?

    Have you seen this note?
    I looked at the latest dotProject, version 2.0.1, which was released in April. DotProject runs on a typical LAMP (Linux, Apache, MySQL, PHP) server setup, but version 2.0.1 doesn't work properly with PHP 5 (there are some workarounds, but it's not worth the trouble), so you'll need to stick with PHP 4 (the most recent version 4.3.11 is a good choice).
    I found this at:

  9. mainestratman

    mainestratman New Member

    Honestly, I'm not sure which version of PHP I'm running.. nowhere near the box right now so I won't be able to check until tomorrow.

    I didn't see that note on dotproject, but it's pretty irrelevant, since it's working fine.. it's just the fact I can't get into phpMyAdmin that bugs me, even though MySql, etc., are set up properly... it's almost like my browser is literally looking for the phpmyadmin folder in the /www/http/ folder....
  10. giganet

    giganet New Member

    To determine PHP version run 'php -v'

    I was merely grabbing straws from when I was going through the same thing with my FC5 server.


Share This Page