Knowledgebase

Database Connection Strings

Any application you have that uses MySQL or MS SQL please ensure you always use the FQDN (Fully Qualified Domain Name) rather than the servers IP address in your connection strings.

By using the IP address you may risk having your application "broken" if for any reason the static IP list on the server is changed and it also ensures that you application is accessing the database over our high speed private network rather than traversing the public facing (internet) networks.

If your unsure what the FQDN of your database server is, you can look this up in the control panel under the database manager link.  Select your database and look at the connection information, there should be a line that says SERVER= the part after this is your server FQDN.

An example of an FQDN would be "kirk.techservers.net" for an MSSQL 2008 based database. 
  • database connection string, connection string, database
  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How To Check Your Site for Exploits

If you are using Open Source or 3rd Party Software on your Website we recommend the following two...

Login using your Social Media Account

Too many login names and passwords to remember ?Here's how you can login to our site using your...

Redirect HTTP to HTTPS (Windows Hosting)

To force a website to use HTTPS, use the following lines of code in a file named .htaccess placed...