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 this by going to the Databases area within your SolidCP control panel. The hostname you’ll need to use will be something similar to ‘mssql.umbhost.net’

'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.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I connect to my database via .NET?

A website built using .NET can be connected to databases of different types: MSSQL, and Access...

How do I manage my Microsoft SQL database?

We recommend using SQL Server Management Studio (SSMS) for managing your Microsoft SQL databases....

What’s the MSSQL database size limit?

At UmbHost, each MSSQL database can store up to 5120 MB (5 GB) of data, and you can store up to...

Can my database be restored from a bacpac file?

We will happily restore your database from a bacpac file. Please open a support ticket to...

Where do I find my MSSQL Database information?

The MSSQL Database details can be found under the "Additional Information" tab on the affected...