Mautic Community Forums

How to Run Mautic and personal Website on the same domain?

Your software
My Mautic version is: v2.16.2
My PHP version is: PHP Version

Your problem
My problem is:
Hello, I have installed Mautic to my ubuntu server using this instructions

When I access my server through Web client using it gets redirected to the home folder wich is and I get login window of the Mautic, everything is fine with it and it works like a charm.

What do I need to do to make my Homepage accessible at , and what I want after that is that I can manually input to access the Mautic.

So, when I access my server through I want to see my homepage and not Mautic login screen, and I want to be able to manually access the Mautic using adress . Can it be done on the same domain and how?

These errors are showing in the log:

Steps I have tried to fix the problem:

Did you install Mautic on a subdomain?

1 Like

Hi tobsowo. Yes, I’m using

This isn’t really a Mautic related question.
It’s a basic question of how to configure VirtualHosts which really belongs on a forum like Server Fault, and not on the Mautic Community Forum. Sorry for not being more helpful but this is really something you should be able to Google as it’s a basic and common question.

1 Like

I was thinking about and mildly understand what is VirtualHosts, but I want to stay on the same subdomain without making another one just for my personal Website.
If that can be done with virtual hosts please point me in the right direction.


I am not the most technical person and TBH never got this working, but here is a link that might help:

1 Like

Thanks mikew. It will help in some way or another.

Ok, I made one new subdomain on an existing subdomain and went the VirtualHosts route. I’ll change Mautics web adress to newly created sub-subdomain, and I will set existing old subdomain to be web adress to my personal website.
Thank you everyone!


It is possible to use both Mautic and, for example, Wordpress (for your pages) in the same hosting.

Choose a hosting provider that allows you to install software with tools like Softaculous.
Siteground had a cheap option with SSH, CRON Jobs and Terminal access based on cPanel. This changed recently, you have to check with them.

Another alternative is to use Liquidweb with WHM + cPanel for greater control.

Install Wordpress in your root directory
Install Mautic in the /mautic/ directory

In that case: will show your wordpress will have the mautic install

Best luck,


1 Like

Thank you Alejandro.- for the instructions.