Accessing my site via internet

Accessing my site via internet

por GEORGIOS FANDRIDIS -
Número de respostas: 5

Hello guys, I suppose my problem is simple, but I have been searching for a solution without any luck for several days now!

I am creating a simple course with moodle for a university exercise. I am doing it on my home computer... used the windows package that makes most of things automated (start moodle-stop moodle etc)

Everything works great from here, I connect by typing localhost or 127.0.0.1 on my web browser and see the course I created.

My problem is that I want to be able to check out my course from another places too, like from my friends computer/university etc. Can someone help giving steps of how to do it?

(In case it helps... I tried to go to config file in moodle, changing the address from 127.0.0.1 to something like 192.168.1.25 but i cant find my site if i type that in the browser)

 

Thanks in advance!

Media de puntuacións: -
En resposta a GEORGIOS FANDRIDIS

Re: Accessing my site via internet

por Howard Miller -
Imaxe de Core developers Imaxe de Documentation writers Imaxe de Particularly helpful Moodlers Imaxe de Peer reviewers Imaxe de Plugin developers
Does your home computer have a fixed IP address or are you signed up with a dynamic dns service (like dyndns.org)? Do you know how to set up your router to forward port 80 to your PC?

Home computer internet connections are generally set up to discourage you from doing this sort of thing. While not impossible it's tricky. You are better getting a moodle course on one of the free/cheap Moodle sites and moving your course.
Media de puntuacións:Useful (1)
En resposta a Howard Miller

Re: Accessing my site via internet

por GEORGIOS FANDRIDIS -

It doesn't have a fixed IP I guess, i was thinking that for the time my IP doesn't change, it should work? I tried to forward port 80 yes, so i suppose that part works. (though i always had problems with this router and port forwarding for gaming) 

I suppose I can try this free moodle sites your talking about! I will google it, thanks for the help.

En resposta a GEORGIOS FANDRIDIS

Re: Accessing my site via internet

por Glenys Hanson -

Hi Georgios,

If you want your Moodle course to be accessible via the Internet well, you have to upload to the Internet first. There are number of free or very cheap Moodle hosts you could use. If your university has asked you to do this exercise, they should provide a Moodle site to which you can upload it.

You home computer is not normally accessible to people surfing the Internet - you wouldn't want it otherwise, would you? chiscadela

Cheers,

Glenys

PS I see Howard has already answered. Glad to see I'm not contradicting him.

Media de puntuacións:Useful (1)
En resposta a Glenys Hanson

Re: Accessing my site via internet

por GEORGIOS FANDRIDIS -

I checked a little bit about the moodle hosting sites and and it's safe to say that this is not what I should do. 

I am supposed to create my own server on my home computer and make a course with moodle there. I have noticed if i change the "servername ip" at apache config/httpd to my local IP and do the same to moodle config file... i can connect to the site by writing my ip at the browser. However, again, when trying the same from a computer connected to the internet from another place, it doesn't work!

So... considering I don't care about a domain name or for the site to work for days... just need to be able to write an IP address at the browser and show my moodle course, for just a day, is it possible to be done?

Thanks!

En resposta a GEORGIOS FANDRIDIS

Re: Accessing my site via internet

por Robert Brenstein -
Judging from info you provided, your computer is at home behind a DSL router. You can fix its IP address within your local network. However, on the outside, your network has a different IP address, which it gets dynamically from your service provider. In order to connect from outside, aside from port forwarding, you need to know the current external IP address of your network (you can look it up at your DSL router, but it keeps changing once a while). The mentioned DynDNS offers a workabout by giving you a name that is being translated on the fly into you current IP address. The latter is achieved by you installing a program on your computer that regularly tells DynDNS what your address is at the moment. This works but but it is not really optimal solution. Furthermore, unless your home connection is really fast, you will find that the response of yoru Moodle may be too slow for proper working. You might be better off using a computer at work to do the same. Of course, your home computer must also have enough memory and fast enough CPU to handle the chores. That depends on the number of simultaneous users and the tasks they do. Final word of caution: many of those simple-to-use internet packages for Windows are not meant for production, that is for using on open Internet, due to insufficient security (cf. Moodle installation instructions for Windows).
Media de puntuacións:Useful (1)