Recent Posts (Page 2)

  • Setting up the server hostname in cPanel/WHM

    Setting up the server hostname in cPanel/WHM

    From the WHM main panel click on “Change Hostname” and enter the desired value in the “New Hostname” field:   The server hostname has to use a registered domain name and has to point to your server IP address.

     
  • Setting up the server hostname in Plesk 11.05

    Setting up the server hostname in Plesk 11.05

    Tools & Settings -> Server settings -> Full hostname 1) 2) 3) The hostname that you should choose has to be relevant for your server. If you have more than one domain hosted on your server, then you should choose the most important/defining one.

     
  • Ubuntu 8.04 alternative repositories – “Failed to fetch” error

    Since Ubuntu 8.04 is no longer supported, the original repositories no longer work. Ubuntu users will get an error like: Err http://mirrors.xx.com hardy/universe mc 1:4.6.1-8ubuntu1 404 Not Found [IP: xx.xx.xx.xx] Failed to fetch http://mirrors.xx.com/ubuntu/pool/universe/m/mc/mc_4.6.1-8ubuntu1_amd64.deb 404 Not Found [IP: xx.xx.xx.xx 80] E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing? Or from Plesk: Failed to fetch http://mirrors.xxx.com//ubuntu/dists/hardy/main/binary-amd64/Packages 404 Not Found [IP: xx… Ubuntu 8.04 users should upgrade to the latest version but in case that for whatever reason, this is not an option for them, they can try these: # Required deb http://old-releases.ubuntu.com/ubuntu/ karmic main restricted […]

     
  • Configure FTP access in Dreamweaver CS6

    Configure FTP access in Dreamweaver CS6

    I will try to explain in this article how to set up the FTP connection  to your hosting space in Adobe Dreamweaver in order to start building your website or edit your existing one’s files. 1) From the main menu, click on “Site”: 2) Select “New Site”: 3) Set the name of your website as you want it to appear later in the “Manage Sites” section: 4) From the same section, go to “Servers”: 5) Set up the FTP connection using the details received from your hosting provider or the ones set up by you if you’re on a self […]

     
  • Find out Apache/Mysql/PHP versions via SSH

    Apache: #httpd –v If Ubuntu try: #apache2 -v MySQL: On a server running Plesk: #mysql -uadmin -p`cat /etc/psa/.psa.shadow` >SELECT version(); On a server running WHM/cPanel: #mysql SELECT version(); PHP: #php –v Perl: #perl -v Python: #python -v

     
  • Move a WordPress based website from Shared to VPS

    Move a WordPress based website from Shared to VPS

    There comes a time when the website you’ve built has grown to big or you’ve added some features to it that a shared type of hosting package simply cannot cope with. The next step in these situations is to have the website moved over to a more powerful platform, in most cases this would be a VPS. We will try to cover in this article all the aspects related to such a task and we will use as example a website hosted by 123-reg on their shared hosting platform which we will be moving to one of their VPSs. Preparation […]

     
  • Fix WordPress redirect loops in Plesk

    Fix WordPress redirect loops in Plesk

    Have you just moved a WordPress based website onto your VPS running Plesk and can’t get rid of the redirect loop even after changing everything you can think of both in your WordPress settings and .htaccess? Well worry not my friend because this simple solution will most likely fix your website. 1) From your Plesk Panel select “Subscriptions”: 2) Select the domain you’re currently using and click on  “Open in control panel”: 3)Go to  “Hosting settings”: 4) Look for “Preferred domain” and select ‘none’: That should do it, save your settings and reload your website (hit CTRL+R a couple of […]

     
  • Finding out the databse details for WordPress based website

    Finding out the databse details for WordPress based website

    Most CMSs such as WordPress or Joomla store the database details in their default configuration files. The WordPress configuration file is called wp-config.php and can be found in your website root folder. This is usually called public_html or httpdocs however, if your website is located in a subfolder (http://domain.tld/wordpress for example) then the root folder for the website will be /public_html/wordpress or /httpdocs/wordpress. Open the wp-config.php to check or alter the database connection details, they look like this: define(‘DB_NAME’, ‘a_database_name’); /** MySQL database username */ define(‘DB_USER’, ‘a_database_username’); /** MySQL database password */ define(‘DB_PASSWORD’, ‘password); /** MySQL hostname */ define(‘DB_HOST’, ‘cust-mysql-123-07’);

     
  • Plesk failed upgrades

    One of the main reasons that can cause upgrades to fail is “named” (the DNS Bind program), having its permissions changed so it cannot run. Check this and correct as below: [root@vps16505916 ~]# ls -la /etc/init.d/named -rwxr-xr-x 1 root root 7478 Jan 7 12:17 /etc/init.d/named [root@vps16505916 ~]# chmod 755 /etc/init.d/named Once done, try and run the update process again. This can be done by selecting ‘Updates and Upgrades’ from the ‘panel’ menu that is on the ‘Server’ tab or the Tools & Settings page if you are logged in as full administrator. Once you select the Upgrade link this will open […]

     
  • Plesk Panel for Linux – location of services logs and configuration files

    APPLIES TO: Parallels Plesk Panel 11.5 for Linux Services Control Panel Logs Error log: /var/log/sw-cp-server/error_log and /var/log/sw-cp-server/sw-engine.log Access log: /usr/local/psa/admin/logs/httpsd_access_log Panel log: /usr/local/psa/admin/logs/panel.log Services Stop: /etc/init.d/psa stop Start: /etc/init.d/psa start Restart: /etc/init.d/psa restart Configuration PHP config: /usr/local/psa/admin/conf/php.ini Panel config: /usr/local/psa/admin/conf/panel.ini Web server config: /etc/sw-cp-server/conf.d/plesk.conf Web Presence Builder Logs Error log: /usr/local/psa/admin/logs/sitebuilder.log Install/upgrade logs: /usr/local/sb/tmp/ No service control (working via sw-cp-server service) Configuration /usr/local/sb/config /etc/sw-cp-server/conf.d/plesk.conf /usr/local/psa/admin/conf/php.ini SSO Logs Error log: /var/log/sw-cp-server/error_log SSO log: /var/log/sso/sso.log Services No service control (works via sw-cp-server service) Manage settings: /usr/local/psa/bin/sso Configuration /etc/sso/sso_config.ini /etc/sw-cp-server/conf.d/sso.inc Backup Manager Logs Backup logs: /usr/local/psa/PMM/logs/backup-<datetime> Restore log: /usr/local/psa/PMM/logs/restore-<datetime> Functionality is controlled by Plesk control panel service Configuration /etc/psa/psa.conf Migration Manager Logs /usr/local/psa/PMM/logs/migration-<datetime> Functionality is controlled by Plesk control panel service. […]