Help to an amateur to install on subdomain

Hello friends.

I’m not an expert and I would like to install this wonderful software on vps ubuntu 20 that allows me to host many free blogs for users.

The problem is that I don’t know how to do it. I need a step by step guide explaining the various steps.

On my vps I have already installed apache2 and Mysql.

I already host a few applications and I’m pretty sure port 8080 is already in use.
Port 80 and 443 are already in use by a wordpress site that I have up and running.

Now knowing all this, that I have ubuntu 20, that I have apache2, mysql, and that ports 80 and 8080 are already in use.

I would need a detailed step-by-step guide, including the creation of the database and considering the fact that I want to host on an address with a subdomain:

Obviously I want to install the software giving others the possibility to register and have their own blog.

Thanks to everyone who will help me.

Hi - I can’t help you directly as this goes above my experience as well. But, if no one else chimes in I might be able to point you in the right direction.

Since you already have ports 80 and 443 (http and https) glommed by Wordpress, I think what you need to do is configure a reverse proxy in your Apache. I know Apache can DO it, its just a real pain to configure properly. The reverse proxy allows you to redirect subdomain (or even URI paths) to different services running on different ports, possibly even on different computers running behind the reverse proxy. So like: → host1:80/443 → host2:80/443

The problem is if you’re trying to do this all from a single host and ports that these applications use ARENT configurable. Ideally what we want to do is something like this: → host1:8080/6666 → host2:80/443

but that’ll depend on whether (in this example) Wordpress can be configured to serve http and https on nonstandard ports. Im pretty sure WriteFreely is fixed to either port 80 for http, or 443 https, your only choice is to switch between them. if NOT (you can’t configure WordPress to host on different ports), you might get some mileage by running Wordpress and writefreely in containers or virtualized machines behind that reverse proxy like so: → host1:dockerA:80/443 → host2:dockerB:80/443

since containers can be configured as lightweight virtual machines and get their own IP addresses.

Thank you for replying. I gave up is too complicated and expensive. But I appreciate that you have deigned to answer me.