Linux (4 Articles)

Linux client-side website checks

Prior to posting a website down ticket from your Help Desk it is recommended that you test the connectivity between your computer and the server hosting your account. Open your favorite terminal emulator and execute the following command in order to ping your website: ping -c 4 my-domain-name.com Please do not forget to replace my-domain-name.com with your own domain name. As soon as the command finishes, copy the results and paste them into the corresponding ticket form. Now, you will need to execute the traceroute command: traceroute my-domain-name.com Please submit these results to the same ticket form. Once you have submitted both the ping and the traceroute command results, you can proceed with posting the site down…

How to log in to my Cloud hosting/VDS 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: [crayon-58d6206b8f13b761009150/] (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…

How to clear the local DNS cache in Linux?

You can flush your local DNS cache in Linux by following these easy steps: 1. Open your terminal to use the command line. 2. Log in as root using the su command: user@host:~$ su Password: <type your root password> root@host: 3. Restart the name service cache daemon: root@host: /etc/init.d/nscd restart Please note that the name service cache deamon (nscd) may not be installed by default on your Linux distribution. You should be able to install it through the package manager of your distribution - yum for RedHad-based distros (Fedora, CentOS) and apt-get for Debian-based distros (Ubuntu, Kubuntu).…