Thread:Project:Support desk/How to Change Localhost Domain Name?

Hi,

I used to run a few private wikis on my localhost a few years ago (MediaWiki versions 1.18.5, 1.19.2, and a few others), until my computer died. Now I'm trying to pick up the pieces and recreate my wiki on a new computer. Right now, my wiki's URL looks like this:

http://localhost/wiki/Main_Page

(I've given it a short URL).

I'd like it to look more like this:

http://www.mywiki.org/wiki/Main_Page

I know there was a way to do this, because I had multiple wikis with "fake" domain names running on my localhost, but I can't seem to figure out how I did it. Hopefully you guys here at the Support desk can help me find the proper way to do this?

Thanks in advance!

OS: Windows 8.1

XAMPP-Portable: 5.6.3

MediaWiki: 1.24.1

PHP: 5.6.3 (apache2handler)

MySQL: 5.6.21

URL: N/A, Private wiki on localhost