witch (26th June 2009)
1) You need a second internal IP which I'm guessing you can allocate yourself, that's the one you'll add to the server directly. We can help with that seperately.
2) You'll need to contact your ISP to assign a new public ip mapping to your internal IP.
3) You'll need a subdomain created for your moodle that's different to the existing one which will remain pointed to IIS. They will ask what IP they're pointing it to which is the one you obtained from your ISP above.
4) You're done with a bit of luck.
To get a new IP address just pick an unused one which you can assign as static (i.e. one which your DHCP server has listed as an exclusion, so it won't assign it out).
Go into the properties of the server's NIC, properties of the TCP/IP protocol, Advanced settings and add the new IP address to the existing one.
Set up the moodle site to listen on that address and test it by typing in the IP address. (Alternatively for testing purposes set up another IIS site just with a blank or test page, then assign that the second IP address, you can reconfigure the moodle site once you've got the DNS set up and know its working).
Then have a word with whoever holds your DNS records to get them to add one, pointing to the correct address. You'll want it to redirect something like moodle.schoolsite.com rather than schoolsite.com. Setting up two records for the same address is going to confuse things, as your system won't know which one people are trying to get to.
It may be that you just have one external IP address, in which case you'll need to get routing set up as well.
For the DNS and the routing you'll need to speak to whoever provides them for you.
You can also test it internally to start with by putting in a DNS record for your test site, pointing to the new IP address for moodle.schoolsite.com and one pointing to the old address for schoolsite.com.
Last edited by jamesb; 26th June 2009 at 12:41 PM. Reason: Taking out actual links to schoolsite.
Hmmm...we do have only one external address - who would set up the routing?
If I want to do it now on our Server 2000 - do I need to install PHP?
I already have Moodle running using Apache.
I am so confused I would delete the lot and start again now I understand the implications of IIS, Apache, and everything else... BUT the boss has put a load of content on and if I deleted it...well, there wouldn't be much of me left after he saw what I had done.
The routing would probably be done by your ISP, or whoever provides that external IP address for you. This may be the LA or a private company.
All they should need is the new IP address to route to, and the address that people would be using for the new site.
So as an example, if your current site were on 10.0.0.1 internally with an address of oldsite.stuff , and you put the new site on 10.0.0.2 with an address of moodle.oldsite.stuff, they should be able to set up the routing so that anyone trying to access the new address would simply be bounced to 10.0.0.2 instead of 10.0.0.1.
Take it a step at a time, and grab a cup of tea first. Its not as complex as we're making it sound by a long shot.
So, step 1 - set up a second static IP address on the server
Step 2 - set up a test site in IIS and assign the new IP address to it. Assign the old site the original IP address (can all be done in IIS manager by going in to website properties and setting the IP address).
Step 3 - test it, then speak to the relevant people to get DNS and so on set up so you can check whether the new URL works, that way you can avoid downtime and make sure its all going to work beforehand.
Step 4 - once its all done and working tell Apache to listen on the new IP address, on port 80.
Step 5 - make a new cup of tea.
OK - I will look at this and have a go.
Next question - when we move to Server 2008, and I reinstall Moodle, what do I do then? Do I install it on IIS (is there documentation?) and if I do, what do I do then about the IP addresses, DNS names and such - will I still need them? or can IIS on Server 2008 differentiate between different sites in some clever way?.
It is all a bit less foggy than it was - but the shapes are only now beginning to emerge from the darkness!!
It is really kind of you all to take the time to help me and I am very grateful
Unless you want to start playing around with host headers (its not worth it, trust me) you'll need the second IP address still, and the routing in place. All you'll need to do though is set whichever system you want to use it up to listen on the appropriate IP address.
Incidentally if this makes no sense let me know. I've just got back from the pub and may not be making too much sense. I can try and translate tomorrow.
I went with that view on the basis that getting a second external IP from some RBCs can be a pig...
It seems awfully complicated!! With apache (I know we are IIS here) you can set up Vhosts which allow you to host multiple sites on one IP. Using a wildcard (*.webaddress.com) forwarding to my host IP I could set Moodle.website.com www.website.com anything.website.com up as the domain was still forwarded to my machine. Surely there is a way to do this under IIS!!
Sorry, what is a host header?
I have emailed the provider (SWGfL) but have had no reply. Anything that doesn't involve them would be good
HOW TO: Use Host Header Names to Host Multiple Sites from One IP Address in IIS 5.0 - Using host headers in IIS
Name-based Virtual Hosts - Using virtual hosts in Apache
Basically instead of using different IP addresses or ports you really on the HTTP header included by the browser including the appropriate name for each site.
PcPro have been running a series on how to install moodle on a server 2008 box.
Any one interested, just pm for the article
And today's problem is:
The company installing our new server etc insist that they want to use the host header method of installing moodle on IIS. Can someone please give me a definitive answer as to what I have to ask our provider (SWGfL) for? I really don't know what it is I'm asking about.
PLEASE don't go on about host headers being the wrong route, that's what they want to do and I don't have the time or expertise to do it myself so we will have to go with it.
I also need someone to confirm exactly what I need to copy and where it is so that current content isn't lost.
Wish I'd never heard of s****ing VLEs
Last edited by witch; 1st July 2009 at 09:00 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)