How can I access my local moodle via the internet?

How can I access my local moodle via the internet?

by Xristof Xaral -
Number of replies: 3

Hello ,
I would like to ask how could I access my local moodle via the internet?
I tried some things with port forwarding the static ip of my pc, I set 192.168.1.65 on port 80.
I did hostname my external address:   christ30.hopto.org -> external address.

I set my static ip in the config.php

like this : <<$CFG->wwwroot   = 'http://192.168.1.65/moodle'; >>

next i tried my external ip in this line : <<$CFG->wwwroot = 'http://193.92.127.231/moodle'; >>

I'm definitely doing something wrong


Can you help me?


(I'm sorry english is not my mother tongue)

Average of ratings: -
In reply to Xristof Xaral

Re: How can I access my local moodle via the internet?

by James Steerpike -
Is your external address a static ip address accessible from the web? 
The 192.168. type address is only for local access.
Easier to  get a cheap VPS than trying to get a local machine on to the web
In reply to James Steerpike

Απάντηση: Re: How can I access my local moodle via the internet?

by Xristof Xaral -

I do not know if my static IP address is accessible from the Web.
How can I control it?

Well, I tell you my new moves !!
I go to no-ip.gr and I have defined a host name for my external ip.
Then I put ipv4 192.168.1.65 (my computer) on port 80 on my router.
I go to my Windows .hosts file and configure my ipv4 in my hostname 192.168.1.65 -> christ30.hopto.org

I just did these.

if i'm wrong, tell me your opinion why i've been looking for this thing for many days.

I want my teacher to check my website for my degree.

In reply to Xristof Xaral

Re: Απάντηση: Re: How can I access my local moodle via the internet?

by James Steerpike -
I think you are on the right track. You need a dynamic DDS service to direct others to your local machine. I haven't set up such a service myself.

Perhaps your teacher could give you some guidance. If they have set a Moodle site as an assignment they should have considered how to grade it.