DDNS, Port forwarding, and access to moodle throught web

DDNS, Port forwarding, and access to moodle throught web

Brandon McEntire -
Erantzun kopurua: 3

I have set up DDNS services through my home network. I have also forwarded my port through my router. I am trying to change the domain name of my moodle site to exclude "/moodle". For example, I want the moodle address to be "xxx.xxx.xxx.xxx" instead of "xxx.xxx.xxx.xxx/moodle". I am hoping by changing the domain name to exclude "/moodle", this would allow me to access my home moodle server from the web using my DDNS and port forwarding techniques at my home network. Prior to this, I was using TeamViewer, which I do not want to do anymore. Any suggestions for changing the url of moodle and the possibility of accessing my Moodle site from the web using this technique?


Thanks

Puntuazioen batez bestekoa: -
Brandon McEntire(e)ri erantzunda

Re: DDNS, Port forwarding, and access to moodle throught web

Mark Johnson -
Core developers-ren irudia Particularly helpful Moodlers-ren irudia Peer reviewers-ren irudia Plugin developers-ren irudia

You'll need to configure your web server (Apache, nginx or whatever) to use the /moodle directory as the root directory for your domain name.  How you actually do this depends on your specific server set-up, so you'll need to find appropriate instructions.

Mark Johnson(e)ri erantzunda

Re: DDNS, Port forwarding, and access to moodle throught web

Brandon McEntire -

I am using apache. Do i change my "document root" line in the 000-default.conf file? if so, what do i change that path to?

Brandon McEntire(e)ri erantzunda

Re: DDNS, Port forwarding, and access to moodle throught web

Brandon McEntire -

I figured it out. 

After updating the config file in Apache. You must go to "moodleip"/admin/tool/replace/index.php

Then you replace your old moodle url with the new one (http://serverip/moodle) with (http://serverip)

Then all of the icons, pictures, and features will render.

Now all you have to do is go to http://ip and moodle will work just fine

Puntuazioen batez bestekoa:Useful (1)