1. Home
  2. Linux Hosting
  3. Control Panel cPanel
  4. How to Connect to the Hosting Server?

How to Connect to the Hosting Server?

For every hosting server and to each hosting account there are additional virtual servers providing different services. For the email service incoming and outgoing mail servers are used, for the databases there are MySQL and PostgreSQL servers, for accessing files there are FTP and SSH servers and others.

Depending how and which service you wish to use, you will need additional data to connect to the server. You will need the name of the server and the respective port for the service.

Note: After your hosting service at SuperHosting.BG is activated, you will have your own hosting account and will be able to use all services available there - email accounts, databases, etc.

Hosting Account Management

To connect your hosting account to the hosting server you can use cPanel. cPanel is used for accessing and managing all services in the hosting account.

To establish a connection to cPanel through the web browser, use some of the secured URLs

To access cPanel on your mobile device you can use an application such as cPanel App (Android, iOS).

Files and Directories

Files and directories in the hosting account may be accessed and managed via cPanel or remotely via FTP and SSH.

Managing Files and Directories via cPanel

The File Manager is used in cPanel for processing content in the hosting account.

Remote Access to Managing Files and Directories

The hosting account's content (files and directories) may be accessed remotely in a few ways:

Connecting to the hosting server via FTP so as to upload/download files to/from the account

For extended content management and specific system maintenance of the apps in your account you can use an SSH connection.

Emails

When an email is sent or received, the email client/program accesses the mail server (incoming or outgoing) remotely.

The email service to the hosting account is used for sending/receiving messages in an email account (mailbox) or for sending emails from the website hosted in the account. In both cases there is a connection to the mail server.

Connecting to the mail server via an email client

To use your email via an email client you need to enter in its settings the name of the incoming/outgoing mail server, the respective ports, the email address and the password.

Connecting to the mail server via Webmail

Webmail clients may be accessed through the browser at certain URLs.

When using a webmail client you do not need to enter outgoing/incoming mail server and ports, you will only need data for the email account and a password.

Connecting to the mail server through an application

To send emails through applications hosted in the account you can use the system email application Sendmail or connect to the outgoing SMTP mail server.

When the website is using Sendmail to send messages you do not need to enter the outgoing mail server name and port. The connection between the website and Sendmail is performed at system level.

When the website is using the outgoing SMTP mail server you need to specify the name of the mail server and its port (as well as the rest of the connection data - it requires identification, email address and password).

Databases

For all hosting services and Managed VPS servers SuperHosting.BG offers MySQL and PostgreSQL database servers. Connection to database servers may be locally performed, for example from applications in the hosting account or remotely for database administration.

Connection to database through an application (MySQL/PostgreSQL)

When you wish a certain application in the hosting account to connect to the MySQL database, you will need to provide the following information:

Data for establishing a local connection to the MySQL server:

  • Host: localhost
  • Port: 3306
  • Database: the database name with prefix (cpuser_mysqldb).
  • User: the username for the database with prefix (cpuser_mysqlusr).
  • Password: user password.

If you want to enable an exchange between an application and the PostgreSQL database, you need to enter the following information.

Data for establishing local connection to the PostgreSQL server:

  • Host: localhost
  • Port: 5432
  • Database: the database name with prefix (cpuser_mypgdb).
  • User: the username for the database with prefix (cpuser_mypgusr).
  • Password: user password.

Remote connection to MySQL/PostgreSQL databases

When databases are accessed remotely the connection is actually established with the database server - MySQL or PostgreSQL.

Remote connection is performed through an application for database management which is installed on your device. You can use the HeidiSQL application for MySQL databases and the pgAgmin app for PostgreSQL.

Important: Remote access to the MySQL/PostgreSQL server is provided for the purpose of administering databases. It is not meant to record or extract databases from an application on a remote server.

To establish a remote connection to a MySQL database, use the following information:

Data for connecting to the MySQL server:

  • Hostname / IP: Enter a server name such as server.rdb.superhosting.bg where "server" stands for the server where your hosting account is located.
  • User: database user
  • Password: password for the database user
  • Port: 3306

To connect remotely to a PostgreSQL database, use the following information:

Data for connecting to the PostgreSQL server:

  • Hostname / IP: Enter a server name such as server.rdb.superhosting.bg where "server" stands for the server where your hosting account is located.
  • User: Потребителят на базата данни.
  • Password: Паролата за потребителя на базата данни.
  • Port: 5432

You will receive an email. After activating remote access through your customer profile you will view the names of the hosting servers to which the access has been activated.

Note: To establish a remote connection to the databases you first need to activate remote access to them through your customer profile. Then install OpenVPN and configure it.

Calendars and address books

You can access shared calendars and address books remotely through an email client or a special app which supports the CalDAV and CardDAV protocols.

To connect to the CalDAV/CardDAV server you need to set up two main parameters: access credentials for the email account and the specific URL for accessing the calendar/address book.

This article applies to: hosting and Managed VPS services with cPanel
Updated on 02.07.2019

Was this article helpful?

Related Articles