What is my hostname ?Written by Brad Markle
If you need to know your hostname, it will vary depending on which protocol you're using.
When connecting via ftp, your ftp hostname will be YourDomain.com (your actual domain name)
More information can be found in our FTP Getting Started Guide
When you are running an application on the server that connects to MySQL, use 'localhost' (without the quotes) as your MySQL hostname.