Domain Name Hosting


Hello,

ImageMagick is a software used  to create, edit, and compose bitmap images. Using ImageMagick we can read, convert and write images in a variety of formats including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. ImageMagick is used to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.

ImageMagick is typically utilized from the command line or you can use the features from programs written in your favorite programming language. Choose from these interfaces: G2F (Ada), MagickCore (C), MagickWand (C)

How to install ImageMagick On Linux server:

wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz

tar -zxvf ImageMagick*.tar.gz
cd ImageMagick*

./configure

make

make install

You can verify the installation with command :

which convert

Regards,

Tuks

How to install and configure the CSF (configserver) firewall.

CSF can be used on a wide range of Linux systems, including those running cPanel. Following are the steps to install and configure the CSF.

Installation is quite straightforward:

rm -fv csf.tgz

wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
sh install.sh

If you would like to disable APF+BFD (which you will need to do if you have
them installed otherwise they will conflict horribly):

sh disable_apf_bfd.sh

That’s it. You can then configure csf and lfd in WHM, or edit the files
directly in /etc/csf/*

csf is preconfigured to work on a cPanel server with all the standard cPanel
ports open. It also auto-configures your SSH port if it’s non-standard on
installation.

To configure CSF modify the config files in /etc/csf/ - or if you are running WHM you can modify the CSF settings in WHM itself.

You should ensure that kernel logging daemon (klogd) is enabled. Typically, VPS
servers have this disabled and you should check /etc/init.d/syslog and make
sure that any klogd lines are not commented out. If you change the file,
remember to restart syslog.

See the readme.txt file for more information.

Uninstallation
==============
Removing csf and lfd is even more simple:

cd /etc/csf
sh uninstall.sh

To stop other sites directly linking to your images and media files and stealing your bandwidth You need to add following code in your .htaccess file

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www.)?domain.com(/)?.*$ [NC]
RewriteRule .*.(gif|jpg|jpeg|bmp|wmv)$ http://www.domain.com/image.jpg [R,NC]

Note: replace your website with domain.com

Note: Please don’t disable the Windows Firewall unless and until you have the other appropriate firewall software installed on your system

There are mainly three methods for disabling the Windows Firewall. The first method is for any user with administrative privileges on an individual machine not remotely or collectively managed in any way. The other two methods are for use windows Administrators on fully managed systems or windows servers.

1) Using the Control Panel

This method is for any user with administrative access to unmanaged systems

1. From the Start menu, select Control Panel, then select Windows Firewall.
2. Select Off, then click Ok.

2) Using Local Policy

This method is for administrators with administrative access to unmanaged systems or locally managed systems where the machine is not part of a Windows 2000 or higher domain.

Go to Start menu >> select Run, here enter gpedit.msc.
Expand the Computer Configuration folder, then the Administrative Templates folder.
Expand the Network folder, then the Network Connections folder, then the Windows Firewall folder.
Select the Standard Profile folder.
Double-click the Windows Firewall: Protect all network connections option.
Select Disabled, then click OK.
Select the Domain Profile folder.
Double-click the Windows Firewall: Protect all network connections option.
Select Disabled, then click OK.
Close the Group Policy dialog box.

3) Using Group Policy

This method is for administrators with administrative access to managed machines that are part of a Windows 2000 or 2003 Active Directory domain.

Create a new Group Policy object, and give the object a descriptive name (for example, ITS-Turn off Windows Firewall).
Select the newly created group policy.
Right-click on the newly created policy and select Edit.
Expand the Computer Configuration folder, then the Administrative Templates folder.
Expand the Network folder, then the Network Connections folder, then the Windows Firewall folder.
Select the Standard Profile folder.
Double-click the Windows Firewall: Protect all network connections option.
Select Disabled, then click OK.
Select the Domain Profile folder.
Double-click the Windows Firewall: Protect all network connections option.
Select Disabled, then click OK.
Close the Group Policy dialog box.
In the Security Filter section, click Add.
Search for the objects that this group policy will be applied to, then click OK.
Close the Group Policy editor.

There are various reasons why an online sector individual suchlike you has decided to shift to a new web hosting providers. Your old web hosting provider be like has real impecunious specialized funding, or their web server is frequently down, or may be your old web hosting supplier cannot have your hosting requirements anymore or you could disclosed a cheaper web hosting assistance? like this many more. Disregarding of the reasons, now you are planning to move to new web hosting provider and you necessity to assign your website from your present web host to the new web entertainer. Below is the step-by-step pass that you can unconstrained of soaring to a new web hosting provider.

Transfer Schedule
Ideally, you should guidance the conveyance one month before you change your old web hosting counseling in organization to possess enough periods to fulfill a untouched soul. Doing channelize in inferior than one month clip under frame will put your website in assay of untracked.

New web hosting service registration
Now, sign-up your new web hosting bringing once you make definite the morpheme familiar mentioned above. Depending on your new web hosting provider, your new web hosting record ordinarily gift be set up within 24 hours.

Files Backup
While ready for your new web host accounting to be created, it is clip to duplication all your web files on the old web hosting provider. In most cases, you already jazz all the files of your website on your local computer. Yet, it is good corking strain to duplication all your files from the old web computer. In element to the usual HTML files, you may impoverishment to approving any script files, databases files, and yet computer logs files if it is required. You should create a directory system that is corresponding to the directory construction on your web server and download the files into the several directories.

Files uploading

Formerly you are notified that your new web hosting invoice has been created, you faculty get asking email from your new web hosting supplier. In that email, it contains all the information required to set up website, this including the FTP login details. With that FTP details, you can now FTP to your new web hosting computer and upload all your files. You should start by oldest creating the directory structures on the web server, and then upload all the files to the respective directory.

It is the time to set any play script files or databases if they are utilized in your website. Likewise, it is a benevolent moment to set up all the email accounts through the administration body.

Once you make smooth uploading all the files and installed the play script files or databases, you can now use the temporary URL to examine your parcel. The temporary URL can be initiate in the request telecommunicate from your new web hosting provider. The temporary URL could be in the stalking initialize: http://your-host-domain/~your-webaccountname

Testing

Using the temporary URL directory, you can now trial your web site online. Due to the fact that incompatible web hosting server may require different computer environs to execute. Hence, you condition to declare all the scripts (such as CGI, Perl) are working accordingly. In addition, you should run all the hyperlinks in the modal web pages if affirmable to secure no humble course. Piece you are investigation finished the temporary URL directory, your website hosted on the old web hosting supplier is move operative.

Channel field nominate

Formerly you score over investigating your new website on the temporary URL and verified it is working utterly. The next step is to get in touch with your domain name register (i.e. the company where you till have your domain register) to modify the old DNS (Domain Name Server) to lie to the new DNS of your new web hosting provider. Unremarkably, the DNS information is sent to you through telecommunicate after you indicate prospering with the new web hosting supplier.

Alternatively, you depart be fit to Field itemize servers test how a domain recite is resolute. Typically, the domain name servers are in multitude split as:

ns1.your-new-web-hosting.com

ns2.your-new-web-hosting.com

Some domain name registrar has need of the IP addresses of the DNS. In this case you have to give the IP addresses of your new DNS. For example:

NS1: 216.193.194.212

NS2: 216.193.207.106

Typically, it takes 24-72 hours to get the DNS record to commute and move through all the WHOIS servers. You can use WHOIS tools on the net much as whois.com to defender the position of the DNS transplant. Once the shifting is completed, you will see the change in your new DNS. Alternatively, you can variety a pardonable change to your internal tender (for instance, adding a new image or symbol) and upload to the new-fangled web hosting server. When you access your site using domain name (www.your-site-name.com) and make sure that DNS has been transferred successfully.

Final Investigating

Now, your website on the new web hosting supplier is officially transferred and online. You should recheck all the tests to assure it is full usable. Once you are official the new website is excavation aright, you can go forward to terminate your old web hosting story.

Apache http server allows a facility to run Virtual Host. Using virtual host you can host several different web sites simultaneously using separate DNS but from same server. Visitors for your site will not be able to distinguish whether your site is hosted on shared IP or on dedicated IP. Generally virtual host do not have unique IP address.

There are 2 types of virtual host
*) IP based : IP based virtual hosting allows you to host more than one website on same server with their own IP address. Here you need to have separate IP address for each host.
You can have as many host as you have IP addresses (nearly 254). SSL can be used under this type of hosting.

*) non-IP/name based : In name-based virtual hosting same IP address is used for different names. Here server relies on clients for hostname. Using this technique, many different host can share same IP address. You can host unlimited site under this hosting.
Configuring name based virtual is easy, you just have to configure your DNS server so as to map each hostname to correct IP address and then configure the Apache HTTP Server to recognize the different hostnames.
You cannot use Named-based hosting with SSL secure servers due to restriction of SSL protocol.

Absolute URL :
Dictionary meaning of word absolute is : not dependent on any thing ie independent having its own existence, same is the meaning of absolute urls.
An Absolute URL is, thus, something that is independent or free from any relationship from the rest. When you use an absolute URL, you point directly to the file you give exact location of the file.

eg : “sitename.com/images/welcome.gif” is an absolute url as it specifies that an image file welcome.gif located in the images directory, under yoursitename domain.
You should always opt for absolute url when referring to other site.Generally such url are long and hence are not much preferred by lazy webdeveloper they like to use relative urls. While changing directory structure you need to rewrite whole path of the new directory and file which can be cumbersome but as far as SEO is concerned spiders like to crawl absolute url.

Relative URLs :
A relative URL points to a file/directory in relation to the present file/directory.
They have short urls as they are referring to root directory/subdirectory.Relative urls helps webmaster to maintain the site without rewriting the whole path again and again if they had made any changes in directory.

eg : ../image/welcome.gif is a relative url (The initial two peroids (..) in the url instruct the server to move up one directory (which is the root directory), then enter images directory and finally point at welcome.gif file )
Relative urls are to used wisely otherwise an error may occur and the intended file may not open.Relative URLs are short and does not require to write whole path so due to its short typein nature they are more popular and are commonly used by webmasters.

The Domain Name System (DNS) is a distributed database system that provides hostname-to-IP resource mapping (usually the IP address) and other information for computers on an internetwork. Any computer on the Internet can use a DNS server to locate any other computer on the Internet.

DNS is made up of two distinct components, the hierarchy and the name service. The DNS hierarchy specifies the structure, naming conventions, and delegation of authority in the DNS service. The DNS name service provides the actual name-to-address mapping mechanism.

Each organization that maintains a computer network will have at least one server which is handling DNS queries. That server is called a name server.
Each computer on each network needs to know the location of only one name server. When your computer requests an IP address, one of three things happens, depending on whether or not the requested IP address is within your local network:

1) If the requested IP address is registered locally (i.e., it’s within your organization’s network), you’ll receive a response directly from one of the local name servers listed in your workstation configuration.

2) If the requested IP address is not registered locally (i.e., outside your organization’s network), but someone within your organization has recently requested the same IP address, then the local name server will retrieve the IP address from its cache. There should be little or no wait for a response.

3) If the requested IP address is not registered locally, and when you are accessing it first time then the local name server will perform a search on behalf of your workstation. This search may involve querying two or more other name servers at potentially very remote locations. These queries can take anywhere from a second or two up to a minute (depending on how well connected you are to the remote network and how many intermediate name servers must be contacted). Sometimes, due to the lightweight protocol used for DNS, you may not receive a response. In these cases, your workstation or client software may continue to repeat the query until a response is received, or you may receive an error message.

When you use an application such as telnet to connect to another computer, you most likely type in the domain name rather than the IP address of that computer. The telnet application takes the domain name and uses one of the above methods to retrieve its corresponding IP address from the name server.

In order to set SPF record for your domain go to the site called

 

http://www.openspf.org/

 

Select option there called SPF WIZARD

 

Put your domain name there and say start.

 

Select all those options you want there like A record, MX record and press “continue” button.

 

You will get a spf record for your domain under the heading,

 

The SPF record:

 

v=spf1 a mx ?all

 

Now you will have to put this record in the dns zone for that domain on the server.

 

You will have to add the entry in dns zone for that domain, for spf record as per given below,

 

domain.com.  IN  TXT  v=spf1 a mx ?all

 

You can check whether it is added correct to your domain at — http://www.dnsreport.com/tools/dnsreport.ch?domain=domain.com >> Mail >> SPF record option.

DNS:

The Domain Name System or Servers (DNS), is the way that Internet domain names are located and translated into Internet Protocol addresses. A domain name is a meaningful and easy-to-remember handle for an Internet address. Internet domain names are the names which we use to refer to hosts on the Internet, such as www.webhosting.uk.com while internet protocol addresses are the numbers which routers use to move traffic across the Internet, such as 197.71.123.219 DNS is part of the application layer of the TCP/IP reference model. DNS is implemented using two software components: the DNS server and the DNS client (or resolver).

If you have a domain name with www.123-reg.co.uk, and your webhosting is with www.webhosting.uk.com (for example), the domain name servers would have to be changed to ns1.webhosting.uk.com and ns2.webhosting.uk.com. Your domain name needs to “know” where your website files are. By pointing the DNS to the servers of
webhositng uk, your website will be displayed.

Next Page »