Windows server: how to install moodle in a hosting server

Windows server: how to install moodle in a hosting server

by ehky Gutierrez -
Number of replies: 4

can any one help me out to setup my moodle site into a company web hosting

Average of ratings: -
In reply to ehky Gutierrez

Re: Windows server: how to install moodle in a hosting server

by Luis de Vasconcelos -

Your question isn't clear. Do you want to install Moodle on a commercial web hosting account that you've purchased? Or do you have your own web server that you want to install Moodle on?

The best thing that you can do before you even start to install Moodle is to read some of the Moodle installation documentation. It will save you a lot of headaches...

http://docs.moodle.org/en/Category:Installation
http://docs.moodle.org/en/Installing_Moodle
http://docs.moodle.org/en/Installation_FAQ

In reply to Luis de Vasconcelos

Re: Windows server: how to install moodle in a hosting server

by ehky Gutierrez -

thanks for your asssitance

i did up load the vercion for windows on the hosting server  folder(hosting company)

then i change the config.php file to direct the links where the data is store but still i have this messages

The 'Data Directory' you specified could not be found or created.
Either correct the path or create that directory manually.

can you please help me out

thank

In reply to ehky Gutierrez

Re: Windows server: how to install moodle in a hosting server

by Luis de Vasconcelos -

Look for the $CFG->dataroot variable in your Moodle config.php file. What folder is it pointing to? It must point to the folder that you created as your Moodle Data folder - i.e. the folder where all your course content is stored.

If your Moodle data folder is 'C:\MySpace\MoodleData' then make sure that $CFG->dataroot points to that foder:

$CFG->dataroot = 'C:\MySpace\MoodleData';

It should be OUTSIDE your main Moodle installation path. In other words, if Moodle is installed in 'C:\MySpace\Moodle' then don't put your MoodleData folder in this same directory. Instead of 'C:\MySpace\Moodle\MoodleData' use something like 'D:\MoodleData'.

Putting your MoodleData folder outside your Moodle folder makes it inaccessible to troublemakers.

In reply to Luis de Vasconcelos

Re: Windows server: how to install moodle in a hosting server

by Richard Enison -
LdV and all Moodlers reading this thread,

I agree that the data folder needs to be inaccessible. To that end, it is not always sufficient to put it outside the main Moodle folder, because sometimes the main Moodle folder is not the main web folder. For example, using the pathnames in your post, if C:\MySpace is the web root, you would access your Moodle as http://yourwebdomain/Moodle. In that case, C:\MySpace\MoodleData would be web accessible even though it is outside the main Moodle folder.

Also, some web hosts require all your folders to be within your web root. In that case, you would have to make the data folder inaccessible to web browsers a different way, such as with folder permission settings or web server (Apache, IIS, etc.) commands.

RLE