Topic on Project:Support desk

2A00:1370:8139:7B50:8D0F:902E:5355:DD51 (talkcontribs)

Manual:Wiki family/pl

I am a real newb about this, I have no idea how to do this:

Enable your web server to share your MediaWiki install with all wikis.

For multiple (sub)domains, have your web server accept connections from all the relevant domains.

What does this mean?

For multiple subdirectories, you could use rewrite rules, aliases, or symlinks.

What program is this done with? How?

I want to create both....I am not sure what to do first though or how....

Thank you!

Bawolff (talkcontribs)

Please read your webserver's documentation on virtual hosts.

2A00:1370:8186:435C:A5FB:ED03:97FB:9B3E (talkcontribs)

Thank you sir(?)

The webserver's customer service is rather lacking....

have your web server accept connections from all the relevant domains.

Is there any text outside of mediawiki that may help....

Thanks for answering Bawolff.

Bawolff (talkcontribs)

Do you know which webserver you are using?


The instructions are different for every webserver.


This is only needed if you are putting different wikis on different domains. If they are just in different directories on the same domain then you dont have to setup virtual hosts.

2A00:1370:8186:435C:A5FB:ED03:97FB:9B3E (talkcontribs)

REPLY 2 to Bawolff:

Here is what they wrote:

Setting up a wiki farm involves a few steps, and it sounds like you're

asking about the part where you configure your web server to serve

multiple wikis. This involves a bit of work with your web server

configuration and some knowledge of server administration. If you are not

an advanced user, please reach a developer.

To clarify, when it refers to enabling your web server to share your

MediaWiki install with all wikis, it means that you're going to set up

your web server (like Apache, Nginx, etc.) in such a way that it can

serve multiple wikis from a single MediaWiki installation.

In the case of multiple (sub)domains, it means you should configure your

web server to accept connections from all the domains you want to use for

your different wikis. For example, if you have wiki1.example.com and

wiki2.example.com, your server should be set up to accept connections for

both.

As for multiple subdirectories, it's about making sure that different

paths on your domain point to different wikis. For instance,

example.com/wiki1 and example.com/wiki2 should lead to two different

wikis. This can be done using rewrite rules, aliases, or symlinks, which

are all techniques for redirecting requests on your server.

Since you're using Apache as your web server (this is the type of server

you have with us), you would use the .htaccess file to define rewrite

rules.

If all of this sounds a bit advanced, don't worry! You're learning

something new and it's perfectly okay to take your time to understand it.

There's also no harm in seeking help from a friend with some server

administration experience or hiring a professional for this task.

As for what to do first, you should start by getting your MediaWiki

installation running for a single wiki. Once you have that working, you

can move on to setting up the server for multiple wikis. Your current

server allows it.

Now, when it comes to the steps, this is totally out of our scope, but a

Google search is always a good start, please refer to some info you can

use:

- How to Start a Wiki: https://www.wikihow.com/Start-a-Wiki

- DokuWiki Farms: https://www.dokuwiki.org/farms

And my favorite, tutorials, this is quite old but it would be good to

have a general idea of how to start:

https://www.youtube.com/watch?v=3aZq0LK250U

2A00:1370:8186:435C:CD55:6AB5:1B50:8D1 (talkcontribs)

To clarify, when it refers to enabling your web server to share your

MediaWiki install with all wikis, it means that you're going to set up

your web server (like Apache, Nginx, etc.) in such a way that it can

serve multiple wikis from a single MediaWiki installation.


In the case of multiple (sub)domains, it means you should configure your

web server to accept connections from all the domains you want to use for

your different wikis.

For example:

  • if you have wiki1.example.com and
  • wiki2.example.com, your server should be set up to accept connections for both.


As for multiple subdirectories, it's about making sure that different

paths on your domain point to different wikis.

For instance:

  • example.com/wiki1 and
  • example.com/wiki2

should lead to two different

wikis. This can be done using rewrite rules, aliases, or symlinks, which

are all techniques for redirecting requests on your server.


Since you're using Apache as your web server (this is the type of server

you have with us), you would use the .htaccess file to define rewrite

rules.


Now, when it comes to the steps, this is totally out of our scope, but a Google search is always a good start, please refer to some info you can

use:

And my favorite, tutorials, this is quite old but it would be good to

have a general idea of how to start:

2A00:1370:8186:435C:CD55:6AB5:1B50:8D1 (talkcontribs)

REWRITTEN:

Enabling your web server to share your MediaWiki install with all wikis. Set up the web server (like Apache, Nginx, etc.) in such a way that it can serve multiple wikis from a single MediaWiki installation.

In the case of multiple (sub)domains, Configure web server to accept connections from all the domains used for different wikis.

For example:

*wiki1 example c o m and

* wiki2 example c o m

...your server should be set up to accept connections for both.

As for '''multiple subdirectories''', it's about making sure that different paths on the domain point to different wikis.

For example:

* example c o m wiki1 and

* example c o m wiki2

...should lead to two different  wikis. This can be done using rewrite rules, aliases, or symlinks, which are all techniques for redirecting requests on your server.

If using Apache as your web server, use the .htaccess file to define rewrite rules.

Refer to some info you can use:

* How to Start a Wiki: wikihow Start-a-Wiki

* DokuWiki Farms: dokuwiki o r g farms

And my favorite, tutorial, this is quite old but it would be good to have a general idea of how to start:

* Build a farm website with four web pages in four minutes (short version)  - WEEBLY EDITOR:  ''(this is not for mediawiki)''

Reply to "Wikifarm...."