Your hostname will depend on what you are trying to setup.

FTP Hostname

Usually your FTP hostname is the same as your domain name. However, if any of the following apply, you will want to use your sever name instead:

  • Domain name less than 24 hours old
  • Domain not pointed to our Nameservers
  • Domain pointed to our Nameservers less than 24 hours

For more information on FTP setup, please see our FTP Getting Started Guide.

Database Hostname (MySQL hostname)

For database connections, your hostname will be: localhost. Please see our articles on Creating, Importing, and Exporting MySQL Databases and Manual Installation of PHP Software for more information on working with MySQL datbases and connecting applications to your database.

Email Hostname

In many cases you'll need the hostname when sending email from your site (contact forms, newsletters, etc.). To do this you'll want to use "localhost" (without the quotes) as the hostname.

Connect Remotely to your Server

If you need to connect to your Web Hosting Hub account from another server you will want to use your server name which can be found in your cPanel stats (on the left side of your cPanel home screen). If you have any trouble finding your cPanel stats please see our What Version am I Running? article for step-by-step instructions.


Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?


n/a Points
2020-03-26 9:20 pm

How To Check any website host name

107 Points
2020-03-26 10:42 pm
Thank you so much for your question! The domain should be the hostname. Review our FTP getting started guide to learn more about connecting via FTP. If you have additional questions, please reach out to our 24/7 live support.

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.