[Mediawiki-l] Steps to take for changing MediaWiki server IP

Mic Mobile manymobile at gmail.com
Fri Feb 26 21:42:53 UTC 2010


Hi all,
Thanks for the help. I got it sorted:

My predecessor had listed the server address in the Apache virtual host
configuration as the system's name, not the IP address. As such, it was
never going to resolve until the DNS entry got update.

Thanks again, and have a good weekend!
-m

On Fri, Feb 26, 2010 at 9:22 AM, Gabriel Filion <
gabriel.filion at revolutionlinux.com> wrote:

> On 02/25/2010 05:58 PM, Mic Mobile wrote:
> > Hi folks,
> > I saw this listed as the support list off of the MediaWiki installation
> > page, so apologies if this isn't the appropriate venue for the query.
> >
> > I've got to migrate our MediaWiki server to a new IP address. I inherited
> > this server, so I'm not as familiar with its configuration as I should
> > be. The server is an 8.04 Ubuntu installation that works well. Database
> and
> > everything else are running locally on the server. I added the IP address
> to
> > the machine and confirmed that it was live on both the old IP and the new
> > IP. MediaWiki is still running fine when accessed by the old IP, but when
> I
> > try to access by http://NEW IP/wiki, I get a page not found.
> >
> > So, I tried ditching the old IP, just using the new IP. I had the same
> > problem, even with a restart.
> >
>
> Make sure that the Apache (supposing it is your web server)
> configuration is set to the right address. VirtualHost sections are
> often linked with a particular IP.
>
> > Is there a MediaWiki configuration file I'm missing somewhere that has
> the
> > host IP address in there somewhere?
> >
> The only configuration file you should have to deal with is
> LocalConfig.php . Verify the $wgServer variable. If you access the
> server via IP (as opposed to by domain name), this variable will have to
> be changed.
>
> My guess is your problem is probably on the level of the Apache
> configuration.
>
> Good luck!
>
> --
> Gabriel Filion
>


More information about the MediaWiki-l mailing list