Jump to content
  • 0

Serve wiki pages from a fake domain in http e.g. myfakedomain.org (instead of mymachinename:8082)



What do I need to do to make all the wiki pages being served from (fake domain with http) of http://myfakedomain.org (instead of http://mymachinename:8082)?

I want to test it out till I purchase the real certificate and domain. I want to figure out what changes need to be made to make it happen.

In other words, instead of all the URLs starting as:


I want all the URLs to start as:


I am using in Windows server:

MediaWiki 1.35.2
Apache 2.4.47 Win64 from Xampp
mysql-8.0.23-winx64 (MySQL :: Download MySQL Community Server)
PHP 7.4.3 (from Xampp)


This is what I have done:


Include conf/extra/httpd-vhosts.conf

Listen 8082

ServerName myfakedomain.org

<Directory />
    AllowOverride all
    Require all granted



<VirtualHost *:8082>
    DocumentRoot "D:/Xampp/htdocs/mywiki"
    ServerName myfakedomain.org

In [b]LocalSettings.php[/b], I have:

$wgServer = "myfakedomain.org";


In C:\Windows\System32\drivers\etc\hosts:       myfakedomain.org

With the above settings, my web page does not get served from http://myfakedomain.org/mywiki/index.php/Main_Page

What changes, or additional settings do I need? 

Edited by userapache123
Additional clarification (see edit history)
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.