Archive for Getting Started

Configuring a Subdomain to a Different IP Address

In this tutorial we are going to learn how to configure a subdomain to a different IP address through the WHM control panel. Usually, it is mostly used by the online websites having a shopping cart.

For example: If example.com is you main site hosted on server “ABC” and the shopping cart “shop” is hosted on the server “XYZ”, and if you wish to show example.com is also hosted on the dedicated server “XYZ”, you will need to setup a subdomain pointing to a separate IP address.

Requirements for Setting up a Subdomain to a Different IP Address:

  • Cpanel Control Panel Access
  • WHM Access
  • Different IP Address or Hostname

Step 1: Log in to your WHM control panel. In the left pane, under the DNS Fuctions, click on the Edit DNS Zone option as shown in the image below.

DNS Functions

Step 2: Now, scroll the page and come to the section “Add New Entries Below this Line”. Here we are going to “Add the A Record”. In order to create a new A record, type “shop” in the first box under the “Add New Entries Below this Line”. From the dropdown menu select “A” as record type. Once you select the A record it will show another box infront of the drop down menu. Enter the IP Address or hostname to in order to mask/point it. (See image below)

Configuring a Subdomain to a Different IP Address

Step 3: Make sure that subdomain with similar name doesn’t exists in the users account or the mask will not work as it should.

Steps to Submit a ticket using eUKhost Help Desk

eUKhost offers 24x7x365 Free technical support. You may get in touch with the Support Department via. Help-Desk by raising a ticket.

The help-desk is designed for offering the best help to the clients. In there you would find a link to our web hosting UK knowledgebase which enables you to analyse the issue and find a solution without the need for intervention from us. If you are unable to find a relevant solution and wish to seek help from our support department, the below steps would help you raise a support ticket.

Step 1 : If you are an existing customer, you must first log-in to the Client Area, while if you aren’t, you must go to the Need Help Area present at the Footer of eUKhost’s pages and click Help Center


Step 2 : (i) A log-in screen would appear wherein you are required to enter the registered email address and the password of your choice.
(ii) If aren’t a customer but wish to raise a pre-sales enquiry, you must click the Submit Ticket button.

Step 3 : Here you are required to Select an appropriate department depending on thetype of query and click Next


Step 4 : You are now required to enter details such as Full Name, email address, select the priority of your request, enter a short but precise Subject, etc and provide a detailed description of the issue you have. You may also attach a file to the ticket if you feel it to be relevant to the problem and may help in resolving the issue in lesser time, for example if you encounter an error log or multiple log-in failure requests from an anonymous IP, you may take a screen-shot and include it with the ticket.

Step 5 : Enter the Captcha code and press the Submit button

This concludes the submission process and you would be presented with the Ticket ID and shown in the image below :

If you still happen to face an issue doing this, you may contact us via. 24x7x365 Live Chat for assistance.

How to Change or Modify Your Customer’s FTP and Frontpage Passwords in Plesk ?

We assume that you have already logged in to your Plesk control panel. Now, lets see how to change your customer’s FTP and Frontpage passwords in Plesk.

Step 1: On the Plesk control panel home screen, scroll below and click the customer’s domain name.

Step 2: On the domain page, Click the “Setup” icon under the “Hosting” section.

Web Reseller Hosting

Step 3: On the “Physical hosting setup page” scroll down to “Account Preferences” and enter the following credentials as shown in the image below:

New FTP Password :
Confirm Password :

Step 4: After entering the new FTP password, Scroll down to Frontpage Support. If the particular customer had Frontpage support enabled, this is where you will be able to change his/her FTP password.

Frontpage Admin’s Password :
Confirm Password :

Step 5: Finally, scroll down and hit the “OK” button to finish. It will end up by showing you a message “Info: Physical hosting settings on domain xyz.com have been updated.”.

That’s it! Your customer’s FTP and Frontpage Password has been changed successfully. Now, you know how to change or modify your customer’s FTP and Frontpage password using your web reseller hosting Plesk control panel. For security reasons, you should remind your customer’s to change their passwords often to prevent the hacking attempts.

How To Brand Your Reseller Hosting Plesk Control Panel With Your Own Logo ?

Most of the beginners starting as a hosting reseller don’t even know that they can brand their reseller hosting business by setting up their own logo in to the plesk control panel. Now lets learn how to brand your reseller hosting business with your own custom made logo in to Plesk control panel.

How to setup your own logo in to Plesk Control Panel ?

Step 1: Login into your Plesk control panel.

Step 2: On your Plesk control panel home screen under the Tools section, find the “Logo Setup” icon and simply click on it.

Reseller Web Hosting

Step 3: On the “Logo Setup” page use the Browse button to select a logo to place in to your control panel.

Setup Logo in to Plesk

Step 4: Enter the destination URL, where you want people to navigate after clicking on your logo and hit the “OK” button.

That’s it! Now, your new logo should have replaced the original Plesk logo in your Plesk control panel as well as for all your customer’s plesk control panels. This is one of the best way to brand your web reseller hosting business.

Reconfiguring The Installed Debian Packages

Do you own a dedicated server running a  Debian or any other Linux distributions ? If yes, then you must be familiar with the command apt-get. People using Linux distributions like ubuntu server edition should know about such commands as these commands will help to make things easier.

Apt-get is a very usual command normally used to install and uninstall softwares. An example using the apt-get command is shown below:

# apt-get install packagename

Whenever a package or a software is installed on the server using the apt-get command, it holds default configuration files and when the package or software is in use it creates a different configuration file that includes custom information. In order to make it suit your requirements, you can adjust the configuration of that file manually. Most of the times, several situations will occur where you might make a mistake and due to that the software will stop functioning. In such case, if you have a deep knowledge about the file, you can fix the issue in the configuration file. This is the main reason why offsite backups are necessary whenever you make changes to any of your server files.

In case, if your forget to backup your files or don’t know how to fix the issue, you can always reconfigure the package. Reconfiguring the installed debian package will restore the original configuration when the package was installed. To reconfigure the installed package simply enter the following command:

# dpkg-reconfigure packagename

Using the above command will restore all the configuration settings. Once the restoration is completed the software installed on your uk web hosting server will start functioning properly however, the previous changes made to the configuration file will be lost.

How To Create a Phpinfo Page ?

The phpinfo.php is a kind of file that allows you to watch the information about your dedicated server. The phpinfo file doesn’t consists of the MySQL information, but it holds all the version information about the PHP, Apache/IIS, GD and many other things on your server. Most of the times you will see many important settings details in the phpinfo file, which might be causing some issues with the installations.

There are many other things that can be seen using the phpinfo file, such as: current version, path to php.ini file, operating system version, hostname, timezone of your system, server API, path to local php.ini file, configuration options such as log_errors, register_globals, post_max_size, memory_limit, safe_mode, etc… In addition to this, the phpinfo file will show you the active modules which are loaded with PHP and its existing configuration settings.

The phpinfo.php file is a simple php script and could be created and stored anywhere on your dedicated server.

Step 1: In order to create a phpinfo file, simply open a plain text file and add the following single line to it and save the file as phpinfo.php .

<? phpinfo(); ?>

Step 2: That’s all you need, now simply upload the created file to your web server. You should upload the file to the exact destination you want to test. Usually, it will be your public_html folder, although its upto you. You can even upload the file to any subdirectory on your server. Use your favourite FTP client to upload the file.

Step 3: In order to visit the page in your browser, simply type the destination url where you have uploaded the file. Here in this tutorial we have added the file in the public_html directory so, the url would be as shown below:

http://www.yourdomain.com/phpinfo.php

Make sure you replace your sitename with “yourdomain”.

That’s it ! Now you can view all the information about PHP for your dedicated server for that specific directory.

How To Use Cat Command on Dedicated Server ?

There are many different methods to check the existing running conditions, errors and general status of services on dedicated server. Especially, files in the /proc directory, can show you critical system information. The “proc” is a virtual filesystem, used as an interface to kernel data structures. Usually, it is mounted at /proc directory.

However, its not at all a good idea to open such files in a text editor, peculiarly when it is possible to view the file containing the information in your console very easily.

The “catcommand is a Linux based command that allows you to read the contents of the text files without opening them in a text editor. The easiest method of reading a file is to use the “cat” command followed by the particular filename. See the below example:

cat logfile.txt

If you try to open large files in a text editor, it will come up with some issues, whereas, if you open the same file using the “cat” command, it will show you all the contents from that file very quickly without any problems. To rectify it, you can append “less” to the output, in order to check the file page by page. See the below example:

cat logfile.txt | less

It is also possible to save the output contents in a file and download, so that you can check it offline. To do this, simply type “cat” followed by an output redirection operator.

cat /proc/cpuinfo > /home/user/cpu-information.txt

The “cat” command can also be used to link multiple files together. If you ever wanted to combine files, this is the best method to do it. See the below example:

cat myfile1 myfile2 myfile3

When you fire the above command, it will display the output contents on your screen, which you can send to a file to download.

cat myfile1 myfile2 myfile3 > output.txt

The “cat” command can be used to view any file contents on your dedicated server. To know more about the “cat” command, simply fire “man cat” command from your command line.

Schedule a Reboot for your Windows Dedicated Server

In the previous post, you have learned how to schedule a reboot for your linux dedicated server. In this article, I will explain steps to schedule a reboot for your windows dedicated server.

The reason for performing a reboot for your windows dedicated server is same as reasons for linux server. Would you like to reboot your server, when the traffic to your site is at highest level ? Definitely, the answer will be No.

Same as Linux servers, the windows dedicated servers provides a command line interface that permits the system administrator to run commands remotely. Once you log into your dedicated server, access the command prompt and type the following command string:

at 4:00am c:admutilspsshutdown.exe -r -f -c -t 10

In the above example, I have configured a reboot at 4:00AM. Make sure the reboot is scheduled in the low usage times only. Using the “at” command scheduling tasks becomes much easier for dedicated server administrators.

Scheduling a Reboot for your Linux Dedicated Server

Rebooting your dedicated server once in a month is necessary to install updates for the kernel and increasing the performance of the server. Every time you install update or patch for your kernel, you will need to reboot your dedicated server.

It is advisable not to reboot your server instantly after installing the updates. It is always recommended to wait for low usage times if you wish to reboot your server (ie. when the traffic is low on your website).

Assuming that you are having access to the command line, enter the following “at” command as root on your command line interface and hit the “Enter” button of your keyboard:

at 3am sunday

Once you hit the Enter button, the command prompt will open to ask for input. Simply enter “reboot” as shown below:

at> reboot

Lastly, in order to save the settings, press “CTRL+D”.

That’s it ! You server will now reboot at the time you have specified.

It is better to have a server monitoring setup, just in case your dedicated server fails to reboot. If you are having a remote server, it is likely that the clock timezone may differ from your local machine. To make sure about the timings, login into your server via SSH, enter “date” to know the exact time.

The “at” command could be used to schedule any task which you want to run once. In order to know more about the “at” command enter “man at” through your command line interface.

How to Schedule a Task on a Windows Server ?

Performing various tasks manually on a uk windows hosting server is a kind of headache. In order to get rid of the manual tasks, windows server is equipped with the scheduler, where you can automate a program to run at specific timings.

Unlike shared hosting, the dedicated server requires more technical skills and time to manage the server tasks. In shared hosting, the web hosting service provider is the one who manage all the server tasks. Automation becomes mandatory when it comes to the dedicated servers. Perfoming tasks manually on a dedicated is not so easy as you think. A simple mistake can mess up things and may damage your data.

Task automation can be performed using two different methods:

1. Using the graphical user interface.
2. Using the command line.

Scheduling Task on Windows Server using GUI

Step 1: Go to Start >> Programs >> Accessories >> System Tools >> Scheduled Tasks.

Step 2: Click on “Add Scheduled Task” and click on “Next”.

Step 3: Select the program you wish to run

Step 4: Specify a name to the task you want to schedule.

Step 5: Set up date and time options according to your requirements.

Step 6: Insert your system password and simply hit the “Finish” button.

Scheduling Task on Windows Server using Command Line

If you are having access to the command line on your remote server, then the task can be easily automated using the command line interface. Using a simple command string, you can automate a task through your command line:

For Hourly Schedule:

schtasks /create /tn “Task Name” /tr “C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE” /sc hourly /ru <username> /rp <password>

The above command string will execute the specified program every hour.

For Daily Schedule:

schtasks /create /tn “Task Name” /tr “C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE” /sc daily /st 05:00:00 /ru <username> /rp <password>

The above command string will execute the specified program daily at the specified time.

Make sure you replace “Task Name” with the name of your task and the “C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE” with the program path you wish to run every hour or daily at the specified time. You can configure the timings as per your requirements and schedue any program or task to run on your dedicated server.

« Previous entries Next Page » Next Page »