+ 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
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    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
    Location
    Preston, Lancashire
    Posts
    10,397
    Thank Post
    601
    Thanked 2,171 Times in 994 Posts
    Blog Entries
    23
    Rep Power
    630
    Moving to *nix Forum.

  3. #3

    Join Date
    Mar 2010
    Location
    shadowx@AllEvil:/
    Posts
    222
    Thank Post
    12
    Thanked 28 Times in 25 Posts
    Rep Power
    14
    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 192.168.5.5, it doesnt need an external address as such but let's pretend that you want 11.27.45.222 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 11.27.45.222 which is on port 80 or 443 to the internal address 192.168.5.5

    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
    Location
    Wakefield, West Yorkshire
    Posts
    895
    Thank Post
    84
    Thanked 235 Times in 194 Posts
    Rep Power
    82
    (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)

SHARE:
+ 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, 08: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, 10:16 AM
  3. Replies: 30
    Last Post: 24th November 2006, 08:33 AM
  4. using Linux for a web/intranet server
    By beeswax in forum *nix
    Replies: 47
    Last Post: 31st January 2006, 10:23 PM
  5. Used Linux for first time today
    By OverWorked in forum *nix
    Replies: 12
    Last Post: 27th November 2005, 06: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
  •