this post was submitted on 24 Sep 2024
1 points (100.0% liked)

nginx

4 readers
1 users here now

The nginx community on Reddit. Reddit gives you the best of the internet in one place.

founded 1 year ago
MODERATORS
 
The original post: /r/nginx by /u/No-Ambition-6032 on 2024-09-24 06:48:43.

Very new to nginx especially when it comes to managing the configuration.

I have started with a clean installation of Ubuntu 24.04.

Then I installed iRedMail using their installation package and instructions which installed MariaDB, Roundcube, iRedMail etc.

I have a registered domain name and installed Certbot and installed the SSL certificate.

All good so far. When directing to the domain name, I am directed to https://domain.com/mail which is the RoundCube logon page. If I change 'mail' to 'iredadmin' I am directed to the iRedMail admin logon page.

Now, I have installed Wordpress and... if I change 'mail' to 'wordpress' I am directed to the Wordpress site...

BUT... I want to be able to enter the domain name and be directed to the wordpress site rather than the roundcube.

I've looked at the nginx.conf file, the sites-available and sites-enabled folders and cannot work out what controls the direction to the first page based on the domain name.

Probably a quick solution for an nginx expert, so I would be grateful for a pointer.

Cheers

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here