Skip to content

Can I set my database hostname as ‘localhost’?

No, you would need to set the database hostname as the server that it’s on at UmbHost.

You can find it in UmbPanel: open your service, click Manage MSSQL Databases, then Details. The hostname is shown as Server Name.

‘localhost’ generally means the MySQL databases are hosted on the same server as the websites, which is quite common in the web hosting industry with hosts that have a ‘single-server’ approach where all services run from the same machine.

It’s different at UmbHost as we split all services and have a strict ‘one server, one rule’ policy.

At the UmbHost data centres, web traffic and MSSQL traffic are all different machines, so ‘localhost’ doesn’t work.