Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Can I serve Mint from the root of the domain?

Can I safely serve Mint from the root of the domain? E.g., example.com/, instead of example.com/mint/.

Doing a quick search in the Mint codebase makes me think that I can, but I’m not a PHP programmer, so I can’t tell for sure. I see the path /mint is hardcoded in only one file, and it’s just for advanced Apache setups, which I don’t use.

I would just try it, but I don’t want to wreck something in my database if it doesn’t work.

To clarify my (late night) post, my setup will be something like serving my site from example.com, and Mint from mint.example.com.

Update: I have run Mint at the root of a domain, e.g. mint.example.com, for over a month now without an issue.

Ben. What are is the setup you made for that? Is it an Out-Of-The-Box installation? I’m interested in having mint.spark-dm.com but don’t know what to do… Can you share some tips? Thanks Carlos

I am about to attempt this for my domain at photogabble.co.uk

This was easier than I could have hoped. I didn’t have to change anything in Mint. It is a completely normal install. The only difference is that rather than serving it at mint.example.com/mint/, I have the web server serving it at mint.example.com/.

You must be logged in to reply. Login above or create an account