Dedicated Servers (59 Articles)

How to reboot your dedicated server via WHM?

The WHM panel provides two options for a server reboot: Forceful Server Reboot Graceful Server Reboot The recommended option is Graceful Reboot . This way the reboot will be queued, and when all services are stopped the server will be restarted. In a case there is a very high load on the server, the Graceful Reboot might not be sufficient. Then you will need to use the Forceful Server Reboot option.…

How to change the password for the root user via WHM?

In order to change the password for the root user you will need to access the WHM panel and follow these steps: 1. Open the Change Root Password tool. 2. Type the new password you would like to use. 3. Type the password again in the confirmation box. Note: You can use the Password Generator button and WHM will automatically generate a strong password for you. 4. Click on the Change Password button. In case you are unable to access the WHM panel, you can contact the SiteGround Technical Support Team, by posting a ticket via the Help Desk, and they will reset the password for you.…

How to access WHM?

WHM stands for Web Host Manager . This is the cPanel 's server administrative management software. The WHM panel is accessible only for customers with a dedicated solution , since they have a root access to the corresponding server. If your account is located on one of these solutions you can access the WHM panel using: http:// yourdomain.com /whm Please have in mind that you need to replace " yourdomain.com " with your actual domain name, pointed to the dedicated solution. In a case your domain is not pointed to the dedicated solution, you can access the WHM panel using the server's IP address. It can be found in your Customer Area->My Account section ->Manage->Your IP address . The WHM panel is accessible only from locations listed in the firewall installed on the server. If your IP address is not listed in the firewall rules, you should contact the SiteGround Technical Support Team by posting a ticket via the Help Desk , under the Port Opening Request section. The login credentials for the WHM panel are usually: Username: root Password: your password By default the password for the root user is set to the password of the cPanel. To change the password for the root user you can follow the steps listed in this article .…

How to restart a service on my dedicated server?

In order to restart a service on your dedicated machine, follow these steps: Log in your WHM control panel Search for the Restart Services option. Under the specified section you can find all services available on the machine that can be restarted. The standard list of the services is: DNS Server (Bind/NSD) FTP Server HTTP Server (Apache) IMAP Server Mail Server (Exim) POP3 Server SQL Server SSH Server…

How to edit the MX records of a domain on my dedicated server via WHM?

In order to edit an MX record of a domain on your dedicated server, follow these steps: Log in your WHM control panel. Click on the DNS Functions link and then on the next page follow the Edit MX Entry link. Find the domain that you want to edit and click Edit. Modify the MX records and when you are ready, click Save . After that you may have to allow up to 48 hours for the changes to take effect.…

How To Install eAccelerator In Cpanel

eAccelerator is a PHP accelerator and optimizer. It helps improve performance by re-using compiled PHP scripts and optimizing them to speed up their execution. In order to have it installed you will need a dedicated server environment because it requires global server changes. In cPanel its installation is very easy and fast following these two steps: 1. Make sure PHP runs as DSO Apache module. For this purpose log into your cPanel server WHM and go to 'Configure PHP and SuExec'. There make sure that the PHP 5 Handler is set to dso. Note: If you are just changing the Apache handler now you may have problems with your files ownership. Before the above change your Apache server probably runs the scripts under your user and after the change to DSO it will run the scripts under the user/group nobody. To resolve this simply change user/group of Apache server to your user. This, however, might not be suitable if there is more than one user on the server. In this case simply change the permissions of any directory where the server has to write files to 777. 2. Next log in as root by ssh and issue the following command: /scripts/phpextensionmgr install EAccelerator With the above simple and easy steps your PHP (site as a whole) performance should be considerably improved with the help of eAccelerator. SiteGround offers the best cPanel hosting package. With it you can access and manage your cPanel without any problems.…

How to change the primary domain of an account on my dedicated server

You can change/update the primary domain name of a hosting account located on a dedicated server via your WHM. Once you are logged into the WHM service you should go to the section: Account Functions -> Modify an Account Within this section you should select the account that you would like to modify and press the "Modify" button. Once the next page opens, within the Domain field you should apply the new domain name. Afterward, you should press the "Save" button. This way your account will be using the new domain from now on. Please note: We do not recommend changing the username of your hosting account, since this may lead to inconsistencies with your account and cause issues with it.…

How to edit a DNS zone on my dedicated server?

To edit a DNS zone on your dedicated server, follow these steps: Log in to your WHM control panel Type DNS in the search box and click on the Edit DNS Zone link Find the DNS zone you want to edit and click Edit Modify the DNS zone and when you are ready with the changes, click Save . After that you may have to wait up to 48 hours for the DNS changes to take effect.…

How to log in to my dedicated server via SSH in Linux?

The following instructions are valid only for SiteGround customers. If you are not a SiteGround customer, you can check our general SSH instructions for more information on how to connect to an account via SSH. First you should generate an SSH key pair on your Linux distribution . Then you should load your private SSH key using the following command: user@localhost: ssh-add /home/user/.ssh/id_dsa Enter passphrase for id_dsa: Identity added: id_dsa (id_dsa) (The passphrase is the same as the one you have set during the generation of the SSH key.) Then you should initiate an SSH connection: user@localhost: ssh USER@HOST_NAME -pPORT USER - the user for which you want to establish the SSH connection. If your account is hosted by SiteGround, this will be the same username as the one you use to log in to your cPanel. HOST_NAME (or IP address) - here you should enter the host/IP of the server to which you wish to connect; PORT - the port for the connection - here you should enter 18765 ; Press "Enter" and if everything has been set up properly, you will establish an SSH connection to your dedicated…

How to log in to my dedicated server via SSH in Mac OS?

The following instructions are valid only for SiteGround customers. If you are not a SiteGround customer, you can check our general SSH instructions for more information on how to connect to an account via SSH. First you should generate an SSH key pair on your Mac OS . Then you need to load your private SSH key using the following command: [crayon-58866dec6461e693985800/] The passphrase is the same as the one you have set during the generation of the SSH key. Then you should initiate an SSH connection: user@localhost: ssh USER@HOST_NAME -pPORT USER - the user for which you want to establish the SSH connection. If your account is hosted by SiteGround, this will be the same username as the one you use to log in to your cPanel. HOST_NAME (or IP address) - here you should enter the host/IP of the server to which you wish to connect; PORT - the port for the connection - here you should enter 18765 ; Press "Enter" and if everything has been set up properly, you will establish an SSH connection to your dedicated…

How to log in to my dedicated server via SSH using PuTTY?

The following instructions are valid only for SiteGround customers. If you are not a SiteGround customer, you can check our general SSH instructions for more information on how to connect to an account via SSH. If you have an SSH key , you have to load it using the pageant.exe program which can be downloaded from this URL . After the pageant.exe download, start the program and load your private key in it. If you have generated your key with a passphrase, you will be asked for it. Then you should start putty.exe and enter the connection details in the Session category: Host Name (or IP address) - here you should enter the host/IP to which you wish to connect; Port - the port for the connection - here you should type 18765 ; Protocol - here you should select SSH ; Once you enter the correct details, click on Open to establish the connection. You will be asked for a username; once you type it, you will log in your account via…

How to import/export MySQL database with exact character set on my Dedicated server?

Exporting your database with the correct charset is important in order to avoid problems with data that has non-english characters. For example, if the character set of your data is Unicode (UTF8) you can use the following command to export it using this charset: mysqldump -uUSERNAME -pPASSWORD --default-character-set=utf8 USER_DATABASE > backup.sql Replace USERNAME, PASSWORD and USER_DATABASE with the appropriate values for your database and you will have a file named " backup.sq l" properly encoded in UTF-8. When you import backup into an empty MySQL database, you can set the exact character set for the data that will be inserted. To do this, use the following command: mysql -uUSERNAME -pPASSWORD --default-character-set=utf8 USER_DATABASE < backup.sql Replace --default-character-set=utf8 with the charset used for the creation of the backup.sql file. This will ensure that your data is inserted correctly.…

Paths to some of the most important logs on your Dedicated server and how to use them

Browsing through the appropriate logs is key element of the troubleshooting process. For example if your website loads slow, you will have to check few logs in order to find the exact reason for this and to apply a fix if possible. Logs, however, can contain millions of lines. It is easy to get lost in so many information without filtering it. First, you can start by using the tail -n100 command to get the last 100 lines from the log file. You can change the number to broaden or narrow down your search. Once you have the desired amount of results you need to search for a certain pattern in them. For example, you can type the following command to check the last 100 lines of the e-mail log file: tail -n1000 /var/log/exim_mainlog |grep "EMAIL" Replacing EMAIL with your e-mail address will show you only the lines recorded about e-mails sent from or to the particular e-mail address. Below, you can find the paths to some of the most useful logs: E-mail activity : Detailed information for each message you send or receive will be saved in this log - /var/log/exim_mainlog MySQL slow queries : If your databases produce "slow" queries, they will be written to this log - /var/lib/mysql/mysql-slow.log CronJobs executions log : Each time a cron job is executed, a log will be saved at this location - /var/log/cro n FTP logs : The connections made to your server via FTP and the transferred files will be logged at these files - /var/log/messages and /var/log/xferlog Apache access log : This is the raw access log for your website. Each IP that has accessed your website will be logged here - /usr/local/apache/domlogs/YOURDOMAINNAME Apache Error Log - If the Apache web server fails to start, stop or restart, the error message will be saved to this file - /usr/local/apache/logs/error_log …

What is the root MySQL password on my Dedicated server?

To obtain the root MySQL password on your Dedicated server, please first login to it as root via SSH. Next, use your favorite text editor to open the /root/.my.cnf file. In this file you will see the root MySQL password for your Dedicated server in non-encrypted format.…

How to change the cPanel theme for an account on my Dedicated server?

To change the cPanel theme for an account, first login to WHM as root. Next, click on the Modify an Account link from the left menu. Select the account you want to make the changes for and press the Modify button. On the next page you will notice a Theme label and a drop-down box next to it. Select the desired theme from the drop-down box and click on the Save button. Finally, logout from cPanel and login anew. You will notice that cPanel is now using the new theme you have selected for this account.…

Can I use my Dedicated server for video streaming?

Yes, all of our Dedicated servers are fully capable of streaming live video and audio. In addition, since you have root access to your Dedicated server, you can install all the requirements and the streaming server software you want to use itself. If you face difficulties accomplishing this, do not hesitate to post a Development request in your Help Desk. Our System Adminsitrators will then install the service you need and make sure they work properly.…

How to utilize the IP addresses I get with my Dedicated server?

Each Dedicated server you purchase comes with a stack of 5 IP addresses. They can be used for different purposes. For example, you may want to assign a different IP address to each one of the accounts on it in order to improve the way search engines consider the links between the sites in those accounts. If they share the same IP address those links would be considered as they are coming from the same website. On the other hand, if your websites have different addresses you can make links between them as if they are completely separate ones. Another potential use of the IP addresses you get is to have SSL certificate for the accounts you have created on the server. A dedicated IP address is a requirement when you install an SSL certificate for any of your websites. Last but not least, you can change the IP address for an account if it has been blocked by a firewall.…

How to use packages to manage the accounts on your Dedicated server?

If you have multiple accounts on your Dedicated server and you want to provide them with different amount of resources, you can benefit from the Packages functionality provided to you by WHM. Each account on your server has a Package setting. It determines most of the options for this account - the maximum space on the Hard Disk that the user can use, the number of FTP accounts s/he can create, how many mails per hour s/he can send and many more. To create a new package of features for your account, first login as root to WHM. Then, navigate to the Add Packages link in the left menu. In this page, enter the name for your Package, and configure the preferences you want to have set for it. Finally, click on the Add button and your package is ready for use. Next, click on the Upgrade/Downgrade an Account   link from the left menu. Select the username you want to assing the package to and click the Modify button. Now select the newly created package which should be colored in green and click on the Upgrade/Downgrade button. This account will now be able to use the resources defined by your package.…

How do I update the statistics logs on my Dedicated server?

AwStats, Webalizer and the other statistics applications use the logs of your web server to provide you with user-friendly information about the usage of your website. Sometimes, however, you need to update those logs. To do this, first login to your Dedicated server via SSH. Next, type the following command: /scripts/runweblogs USERNAME Replace USERNAME with the actual user you want to update the statistics for. Next, simply login to the cPanel of that user and you should be able to access the latest statistics for your website!…

How to create new accounts on my Dedicated server?

To create a new account on your Dedicated server you will need to login to WHM with root privileges. Next, select the Create a New Account link from the left menu. On the next page you will have to enter the necessary information for the account. Fill in the fields as follows: Domain - enter the domain name that will be set as primary for the new account; Username - enter the username of the account. Note that it should be 8 characters long; Password - enter the password for the account; Email - enter the administrative e-mail address that will be associated with this account; Choose a Package - select standard from the drop-down menu; cPanel Theme - choose X3 from the drop-down menu to use the latest cPanel theme; Language - the language that will be used for the cPanel interface; You can leave the other fields/checks to their default values. Finally, click the Create button to complete the creation of the account.…