Cannot Change Web Address

Cannot Change Web Address

by Dragon Warrior -
Number of replies: 6

According to Moodle documentation:

http://docs.moodle.org/25/en/Complete_install_packages_for_Windows#Database_configuration

Moodle paths

The paths for your Moodle installation are shown – if you are only using this as a local testing server, accept the ones that are shown on your screen.

What you enter in the "Web Address" field depends on what you intend to use the new Moodle installation for. If you are just going to use it for local testing, then use 'http://localhost'. If you are going to test the new installation on a LAN, and will be accessing it from other machines on that LAN, then put the private IP address or network name of the serving machine, followed by a forward slash and moodle: Web Address - http://192.168.1.1/moodle If you are going to test the installation on the internet, then you will need to put the public ip address followed by a forward slash and moodle: http://your_ip_address/moodle or you can put your domain name here instead.

***

However, when I was installing Moodle, the Web address was http://localhost, and it was grayed out, so there is no way to change it.

Can anyone help?

Moodle version: Moodle for Windows 2.5.2+ (latest)

OS: Windows server 2003

Attachment web address.jpg
Average of ratings: -
In reply to Dragon Warrior

Re: Cannot Change Web Address

by jason everling -

You need to run the installer from the URL that will be used for Moodle, so if it is going to be http://moodle.yourdomain.edu than run the installer at http://moodle.yourdomain.edu . Those fields are auto populated in which the way you access the installer.

I would also suggest not to use Internet Explorer, use Chrome or Firefox.

Thanks,

JASON

In reply to jason everling

Re: Cannot Change Web Address

by Dragon Warrior -

Thanks. How can I run the installer at http://moodle.yourdomain.edu?

In reply to Dragon Warrior

Re: Cannot Change Web Address

by jason everling -

Well, that is all dependent on your environment. You need to add a new DNS record

If so have them add an Host A Record for your servers IP Address and name you wish to use.

Are you installing this for production use, users will be logging in?

Or just for dev purposes on a local machine?

Thanks,

JASON

In reply to jason everling

Re: Cannot Change Web Address

by josh vonhauger -

The instructions for changing the web address for a windows install is not accurate.  it clearly says to change the url for the intended use.  when i try to change the web address form http://localhost the field is grayed out.  i am unclear how i install form the desired url as described above.  that seems very convoluted.  i am installing the 3.0.2 full windows package

In reply to josh vonhauger

Re: Cannot Change Web Address

by Chris Megahan -
Picture of Core developers

First the DNS for the domain should be properly configured to reach the public IP address of your webserver and you will need to ensure the proper ports are opened to the webservers internal IP in your firewall (80, 443). After that the XAMMP Apache server should respond and serve requests under that domain. You will then want to run the installer from that domain which will populate the fields you presently can not access, with the proper information.

Regards,
Chris Megahan
Solutions Architect
Remote Learner

In reply to Chris Megahan

Re: Cannot Change Web Address

by josh vonhauger -

  1. Current Machine set with static local ip  = done 
  2. Internal router has port 80 open = done
  3. static public is set to forward = done

the domain is sitting at go daddy with an A recorded pointed to the public ip 


Is their just a file i can edit ?  Do i have to somehow do the install like 


domainname/install.php for the config to grab the name ?