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

**URL:** <https://forum.mautic.org/t/how-to-run-mautic-and-personal-website-on-the-same-domain/14464>\
**Category:** Product Support\
**Created:** [May 22, 2020, 7:42pm UTC](https://forum.mautic.org/t/how-to-run-mautic-and-personal-website-on-the-same-domain/14464 "2020-05-22T19:42:51Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![forevern00b](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/forevern00b/32/1753_2.png) [@forevern00b](https://forum.mautic.org/u/forevern00b)\
**Post date:** [May 22, 2020, 7:42pm UTC](https://forum.mautic.org/t/how-to-run-mautic-and-personal-website-on-the-same-domain/14464/1 "2020-05-22T19:42:52Z")

</div>

**Your software**  
My Mautic version is: v2.16.2  
My PHP version is: PHP Version 7.1.33-15+ubuntu18.04.1+deb.sury.org+1

**Your problem**  
My problem is:  
Hello, I have installed Mautic to my ubuntu server using this instructions [https://websiteforstudents.com/install-mautic-on-ubuntu-16-04-18-04-with-apache2-mariadb-and-php-7-1/](https://websiteforstudents.com/install-mautic-on-ubuntu-16-04-18-04-with-apache2-mariadb-and-php-7-1/)

When I access my server through Web client using [example.com/](http://example.com/) it gets redirected to the home folder wich is [example.com/s/login/](http://example.com/s/login/) 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 [example.com/](http://example.com/) , and what I want after that is that I can manually input [example.com/s/login](http://example.com/s/login) to access the Mautic.

So, when I access my server through [example.com/](http://example.com/) I want to see my homepage and not Mautic login screen, and I want to be able to manually access the Mautic using adress [example.com/s/login](http://example.com/s/login) . 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:

---

<div class="post-metadata">

**Author:** ![tobsowo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tobsowo/32/3096_2.png) [@tobsowo](https://forum.mautic.org/u/tobsowo)\
**Post date:** [May 23, 2020, 10:34am UTC](https://forum.mautic.org/t/how-to-run-mautic-and-personal-website-on-the-same-domain/14464/2 "2020-05-23T10:34:52Z")

</div>

Did you install Mautic on a subdomain?

---

<div class="post-metadata">

**Author:** ![forevern00b](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/forevern00b/32/1753_2.png) [@forevern00b](https://forum.mautic.org/u/forevern00b)\
**Post date:** [May 23, 2020, 10:38am UTC](https://forum.mautic.org/t/how-to-run-mautic-and-personal-website-on-the-same-domain/14464/3 "2020-05-23T10:38:30Z")

</div>

Hi tobsowo. Yes, I’m using [mooo.com](http://mooo.com)

---

<div class="post-metadata">

**Author:** ![autoize](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/autoize/32/105_2.png) [@autoize](https://forum.mautic.org/u/autoize)\
**Post date:** [May 23, 2020, 11:45pm UTC](https://forum.mautic.org/t/how-to-run-mautic-and-personal-website-on-the-same-domain/14464/4 "2020-05-23T23:45:48Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![forevern00b](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/forevern00b/32/1753_2.png) [@forevern00b](https://forum.mautic.org/u/forevern00b)\
**Post date:** [May 24, 2020, 6:34am UTC](https://forum.mautic.org/t/how-to-run-mautic-and-personal-website-on-the-same-domain/14464/5 "2020-05-24T06:34:13Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [May 24, 2020, 7:34am UTC](https://forum.mautic.org/t/how-to-run-mautic-and-personal-website-on-the-same-domain/14464/6 "2020-05-24T07:34:15Z")

</div>

Hi

I am not the most technical person and TBH never got this working, but here is a link that might help: [https://geekflare.com/multiple-domains-on-one-server-with-apache-nginx/](https://geekflare.com/multiple-domains-on-one-server-with-apache-nginx/)

---

<div class="post-metadata">

**Author:** ![forevern00b](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/forevern00b/32/1753_2.png) [@forevern00b](https://forum.mautic.org/u/forevern00b)\
**Post date:** [May 24, 2020, 8:03am UTC](https://forum.mautic.org/t/how-to-run-mautic-and-personal-website-on-the-same-domain/14464/7 "2020-05-24T08:03:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![forevern00b](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/forevern00b/32/1753_2.png) [@forevern00b](https://forum.mautic.org/u/forevern00b)\
**Post date:** [May 24, 2020, 12:51pm UTC](https://forum.mautic.org/t/how-to-run-mautic-and-personal-website-on-the-same-domain/14464/8 "2020-05-24T12:51:43Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![alexrm1x](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/alexrm1x/32/2500_2.png) [@alexrm1x](https://forum.mautic.org/u/alexrm1x)\
**Post date:** [May 24, 2020, 12:59pm UTC](https://forum.mautic.org/t/how-to-run-mautic-and-personal-website-on-the-same-domain/14464/9 "2020-05-24T12:59:14Z")

</div>

Hello,

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.

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

In that case:  
[example.com](http://example.com) will show your wordpress  
[example.com/mautic](http://example.com/mautic) will have the mautic install

Best luck,

Alejandro.-

---

<div class="post-metadata">

**Author:** ![forevern00b](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/forevern00b/32/1753_2.png) [@forevern00b](https://forum.mautic.org/u/forevern00b)\
**Post date:** [May 24, 2020, 1:02pm UTC](https://forum.mautic.org/t/how-to-run-mautic-and-personal-website-on-the-same-domain/14464/10 "2020-05-24T13:02:10Z")

</div>

Thank you Alejandro.- for the instructions.

---

<div class="post-metadata">

**Author:** ![affy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/affy/32/2428_2.png) [@affy](https://forum.mautic.org/u/affy)\
**Post date:** [June 14, 2020, 3:37pm UTC](https://forum.mautic.org/t/how-to-run-mautic-and-personal-website-on-the-same-domain/14464/11 "2020-06-14T15:37:23Z")

</div>

I’m using Bluehost, the installation went a OK.  
But I am having problem on Email Settings, I tried both elasticemail (yesterday) & amazon ses (today) but both failing on test connection.

sample error:  
Connection could not be established with host [email-smtp.us-west-2.amazonaws.com](http://email-smtp.us-west-2.amazonaws.com) [Connection refused #111]

Smpt ports were block by Bluehost? plus worst support ☹

Now I am looking for a good shared hosting that could run mautic without a problem.

I am looking at a2hosting and siteground.  
Do you have any experience setting up a working Mautic on either of them?

Thanks!

---

<div class="post-metadata">

**Author:** ![alexrm1x](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/alexrm1x/32/2500_2.png) [@alexrm1x](https://forum.mautic.org/u/alexrm1x)\
**Post date:** [June 14, 2020, 5:43pm UTC](https://forum.mautic.org/t/how-to-run-mautic-and-personal-website-on-the-same-domain/14464/12 "2020-06-14T17:43:52Z")

</div>

I have Siteground and works like a charm, but I have the “agency VPS”, which includes WHM and cPanel.  
Some companies are getting rid of cPanel as cPanel increased licensing prices, so you have to check with them if your hosting selection includes cPanel. If yes, you’ll have access to a x3 o magic\_lantern cPanel where you can use Softwaculous for the mautic and wordpress install (remember, mautic in the /mautic subdir), and also Let’s Encrypt, Email, DNS (for DKIM and SPF), CRON jobs and a Terminal for ssh commands (troubleshooting).  
Hope this helps.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [June 14, 2020, 8:30pm UTC](https://forum.mautic.org/t/how-to-run-mautic-and-personal-website-on-the-same-domain/14464/13 "2020-06-14T20:30:34Z")

</div>

This is the Mautic - SES - Bluehost related forum. You’ll find your answers here.

> [@Amazon SES and Mautic Issues](https://forum.mautic.org/t/amazon-ses-and-mautic-issues/6077/22):
>
> For sure, no rush at all - we are doing a bunch of work on improving our documentation at the moment so any help is much appreciated no matter how small!
