+ Post New Thread
Results 1 to 4 of 4
*nix Thread, set a puplic IP for moodle using linux server ?? in Technical; good day kindly , help me to set a public ip for moodle using linux server ?? i already change ...
  1. #1

    Join Date
    Jul 2012
    Thank Post
    Thanked 0 Times in 0 Posts
    Rep Power

    Question set a puplic IP for moodle using linux server ??

    good day
    kindly , help me to set a public ip for moodle using linux server ?? i already change the IP in config.php file AND Still can not access moodle by internet ???

    thank you

  2. #2

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Preston, Lancashire
    Thank Post
    Thanked 2,302 Times in 1,063 Posts
    Blog Entries
    Rep Power
    Moving to *nix Forum.

  3. #3

    Join Date
    Mar 2010
    Thank Post
    Thanked 28 Times in 25 Posts
    Rep Power
    Have you put the moodle server in your DMZ? You might need to setup a port forwarding rule on your firewall too in which case you just want to forward port 80. In our setup we have our external router which is plumbed into the firewall and in turn that is our gateway so assuming you have a similar set up you need to do the following:

    Reset the moodle server IP to your external convention, let's say we call it, it doesnt need an external address as such but let's pretend that you want to be your "External" IP (IE if I type that in to my browser I'd get your moodle, naturally you want to DNS it to be moodle.school.com or whatever but the important bit is that IP, you need to sort out external DNS with your ISP)
    You then need to setup a port forwarding rule on your firewall. Port 80 is HTTP so you want that and if you use SSL you need 443 too so your rule would be similar to:
    Forward anything on the incoming IP of which is on port 80 or 443 to the internal address

    Different interfaces represent it in different ways, check the manual for your firewall (HAH! Manuals! Google it ). All you need to do is take traffic coming in on the EXTERNAL IP on port 80 (and 443 if you use SSL) and redirect it to the moodle server's IP.

    There are security issues obviously so make sure your LAMP server is up to date and you keep moodle updated and use secure passwords yadayadayada

  4. #4
    Marci's Avatar
    Join Date
    Jun 2008
    Wakefield, West Yorkshire
    Thank Post
    Thanked 235 Times in 194 Posts
    Rep Power
    (and tell Apache to listen on either all addresses on Port80, or the specific IP address your Linux server is using. Do this in httpd.conf)

+ Post New Thread

Similar Threads

  1. Having problems installing moodle on linux server?
    By reggiep in forum Virtual Learning Platforms
    Replies: 9
    Last Post: 18th May 2009, 09:36 PM
  2. Setting up a web server for pupils' use
    By park_bench in forum Web Development
    Replies: 14
    Last Post: 9th April 2008, 11:16 AM
  3. Replies: 30
    Last Post: 24th November 2006, 09:33 AM
  4. using Linux for a web/intranet server
    By beeswax in forum *nix
    Replies: 47
    Last Post: 31st January 2006, 11:23 PM
  5. Used Linux for first time today
    By OverWorked in forum *nix
    Replies: 12
    Last Post: 27th November 2005, 07:07 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts