Hire a web Developer and Designer to upgrade and boost your online presence with cutting edge Technologies

Wednesday, January 26, 2011

FAQ while hosting and running PHP websites live on Internet...

Application Paths - What is the path to ...?

Here is a list of commonly used paths:

The webroot path is /home/username/public_html

The path to your email is /home/username/mail/domain.name/user's name/

The save session path is /home/username/tmp

The path to AWStats is /home/username/tmp/awstats

The path to cgi is /home/username/public_html/cgi-bin/ or /var/www/cgi-bin

The path to Perl is /usr/local/bin/perl

The local path to Sendmail is /usr/sbin/sendmail

The path to PHP is /usr/bin/php

The path to Zend Optimizer is /usr/local/Zend

The path to MySQL is /var/lib/mysql

The path to Mysqldump is /usr/bin/mysqldump

The path to Pear is /usr/bin/pear

The path to Python is /usr/bin/python

The path to openSSL is /usr/bin/openssl

The FTP root path is /home/username/ (only accessible if using the cPanel login)

The FTP directory path is /public_html/ or just leave blank

The path to Aspell is /usr/bin/aspell

The local path to ImageMagick is /usr/bin/

The local path to convert with ImageMagick is one of the following...

* /usr/bin/convert
* /usr/local/bin/convert
* /usr/bin/X11/convert

The path to the GD2 library is /usr/lib

The path to the GD2 include directory is /usr/include

The path to rsync is /usr/bin/rsync

Path to Exim logs is /var/log/exim_mainlog

Path to Alias files is /etc/valiases/

The path to PHPmyadmin is http://yourdomain.com:2082/3rdparty/phpMyAdmin/index.php

The path for sbin is /usr/sbin - but is not accessable.

The path for cgi-sys is /var/cpanel/cgi-sys

The path to Apache on a Linux server is /usr/local/apache


-----------------------------------

Do I have to change my domain if I get a new host?

No. Provided that the domain is registered in your name (as it should be), you can simply update your namservers (from where you manage your domain names) to that of your new host.


---------------------------------

How can I pay for web hosting?

This depends on which hosting company you decide to go with.

Most web hosts will accept credit cards, and some will accept PayPal and/or a Money Order / Check.


--------------------------------


How Do I Register a Domain Name?

Registering a domain name is very easy.

First you will have to make sure that the domain you want is available - using something called a WHOIS lookup at sites like Register.com or Whois Source you can make sure the domain you want is available for registration.

Afterwards, you simply need to visit a registration site such as www.XYZ.com to purchase your domain name.


-----------------------------------

How do I track how many hits my website gets?

There are a few things that need to be cleared in terms of terminology:
Hits - this simply refers to the number of 'elements' loaded on your site. If one page has five images in it, viewing that page once adds 6 hits (one page + five images).
Impressions - the number of times all the pages on your site are seen (also simply called pageviews). Impressions are sometimes referred to as 'hits' which can cause confusion
Uniques - the number of people that visited your site

So to clarify, if I visit your website, look at two pages, and each page has 5 images on it, then your stats increase by one unique, two page views, and 12 hits.

Tracking on your site can be either done server-side or remotely. With server-side statistics, log files are used to generate visitor information. This is usually much more accurate than remotely hosted solutions. In such cases, you usually have to add some javascript to your site. This javascript is then used to track visitor data.

If your host provides it (and many do), server-side statistics are a good solution. Otherwise, companies like Site Meter can be used to remotely track your visitors.


------------------------------------------

How do I upload my site online?

Uploading your site can be done in many ways, but the most popular is FTP.

When your hosting account was created, you should have been provided with an FTP account. Using software such as CuteFTP or WS_FTP, you can log into your host. Then, using the program like a normal windows program, you can drag and drop files onto your web host. These files become live online instantaneously.

There are other ways to upload your site such as using SSH or uploading files through your browser


-----------------------------

I am using too much bandwidth! Is there anyway for me to make it less?

In most cases, yes.

You should first try to optimize the graphics on your website. Many GIFs look just as good with fewer colors, and many JPEGs look just as good with a higher compression level. NetMechanic offers an image optimizer program online.

You should also analyze the HTML of your site. Make sure you use relative paths, so that images are not downloaded more than one time. Remove any extra spacing and when linking to other pages, use relative paths and not absolute links.

While many hosts already have it, you could also see if your host has mod_gzip installed. This can save you a lot of bandwidth.

Best of all, optimizing your page like this makes the user experience better as your site will load faster for them!


--------------------------------------

I have a fast internet connection (DSL/cable) - can I just host my own site?

You could, but that's definitely not recommended.

First of all, most ISPs have clauses that do not let you use your internet connection for web hosting - doing so will result in termination of your account.

Second of all, think of the headaches it can provide: making sure your system is secure so that no one can hack into it, having your computer on 24/7, and other such problems.

Third of all, think of the performance. Most good web hosts use powerful servers with lots of RAM and high performance hard disks. Furthermore, they have multiple internet connections at speeds far higher than what residential DSL or cable service can provide.

Lastly there are all the issues of support. If something goes wrong, it will be your job to fix it - you will not have a professional to correct the problem.


-----------------------------------------------

Some what about Web Hosting

Want to know more about how web hosting works? Have an idea for a web-based business but don't know the procedures to get your content online? Check out this FAQ section about web hosting and you'll be on your way in no time!

What is Web Hosting?
Web hosting companies rent out server space and bandwidth to you so that you can publish your website online.

You can purchase server space and bandwidth directly from a web hosting company, or opt for free disk space and bandwidth from them that will be supported by pop-ups and online banners and ads (that you do not have control over).

What is a Domain Name?
A domain name is a unique letter/number string that, along with a top level domain (e.g., .com or .org, etc), identifies your website.

What is Disk Space and Bandwidth/Data Transfer?
Each website's content, including each and every letter of even the simplest HTML code, takes up a certain amount of space (disk space) on a server. Images, graphic displays, databases, and other applications take up large amounts of disk space.

There's also a limit to the amount of data that can be transferred from the server to your website in any given month; this is the bandwidth. Should your website exceed this limit, your web hosting company might shut down your site's operation for the rest of the month, or just charge you a fee for each extra gigabyte of data transfer.

Why put Flash on My Website?
Flash allows a program to run on a user's computer, rather than through a web host, so long as their browser has the right plug-in installed. Putting Flash on your website helps ensure that the amount of traffic your website experiences does not affect its data transfer limits.

What are PHP, ASP, Perl, etc?
These are all different types of programming languages, each of which has its own distinct uses and benefits. Consult with an expert to determine which best meets your website's needs.

Will there be forced advertising on my site - things like banner ads or popup ads?
Not if you pay a web host for your own webspace.

How Can I Pay a Web Host?
Most web hosting providers accept credit card payments, while some also accept PayPal transfers or checks/money orders.

What are Subdomains?
These are extensions of your own domain name that are treated as separate sites from your main website. For example, www.test.domain.com is a subdomain of www.domain.com.

How Do I Upload My Site Online?
Though you can upload content to your website via SSH or through a web browser, FTP is by far the most standard method of uploading website content to a server. Software like CuteFTP and WS_FTP allows you to log in to your web host and drag and drop files onto your web host that become live online instantaneously.

What is Uptime?
The amount of time your website it online (measured monthly). Since many web hosting providers offer 99.9% uptime guarantees, if your website is offline for more than 43 minutes in a calendar month, they will likely reimburse you.

What is the Difference between UNIX Hosting and Windows Hosting?
The Linux OS is used far more commonly by web hosts than the Windows OS for many reasons. First, a majority of websites simply don't need to support Microsoft products, such as MS Access, VBScript, or ASP. Second, the Linux OS is considered to be more stable. Third, and most importantly, the Linux OS is not only a fine product, it's also free.

How Can I Decide Which Web Hosting Company to Use?
Based on factors like pricing plans, reliability, and amount of disk space and monthly bandwidth offered. You also need to find out which operating system the web hosting company uses, and what sort of technical customer support they offer, and choose the web host that best fits your business' needs based on these factors.

What is SSL?
An acronym for Secure Sockets Layer, SSL refers to the mechanism used to ensure the security of financial transactions online. An SSL certificate costs about $100 per year and can be purchased through a company like VeriSign.

How Do I Know How Many People Visit a Website?
Most web hosting companies provide you with the tools and technologies to measure your website's traffic and better manage your website's content.

Some types of information your web host may provide you with are: how long viewers spend looking at the different pages of your website, how your site ranks on various search engines, and where dead links are on your site

Knowing this information empowers you to try and fine-tune your online content to increase the amount of time viewers spend on your website.

I've Made My Choice for a Web Hosting Provider, Now What?
First open and set up an account with your new web hosting company. You can pay on a monthly basis or try to negotiate a better price by paying for a year of web hosting services in advance. Next, follow the web host's instructions and protocol for uploading your website's content (usually through an FTP server). Your web hosting company will then tell you what their nameservers are called, so that you can enter this information with the company with whom you registered your domain name. Within 2-3 days, your website should be fully functional.


---------------------------------


What are PHP, ASP, perl, etc?

These are all programming languages which are referred to by their acronyms.

PHP - PHP: Hypertext Preprocessor
ASP - Active Server Pages
Perl - not an acronym

Each programming language has its own benefits and uses. It is best that you research on your own to find one that best fits your needs


--------------------------

What are subdomains?

Consider subdomains as an extension of your domain. For example, your site is www.example.com. A subdomain would be test.example.com, and another would be webhosting.example.com.

Subdomains are usually treated as separate sites from the main domain site.

----------------------

What do I need to do to put Flash on my website?

Flash is a client side feature - it runs on the user's computer, not on your web host. As long as the user's browser has the correct plugin installed, it will run on their computer

---------------------

What is a Domain Name?

A domain name is a word along with a TLD that uniquely identifies your website.

------------------

What is Domain Parking?

Domain parking lets you buy a domain and then have a 'coming soon' page on it. This is not needed - if a domain is not parked it will simply be iinaccessible to anyone.

Most domain registrars provide this by default.


-----------------

What is MySQL, MS SQL, etc?

MySQL and MS SQL are database systems. Depending on what your host provides, you can use a database to organize your data.

---------------


What is the difference between UNIX hosting and Windows hosting?

Depending on which operating system to go with depends on your needs.

If you need to support Microsoft products such as ASP, MS Access, or VBScript, then Windows hosting would be better. Furthermore, if you are comfortable with IIS and do not have the time to understand how UNIX works, Windows hosting would again be a better choice.

There are some things to remember.

First of all, just because you use Windows at home does not mean you should use Windows hosting. The two are completely different, and having a Windows system at home will not affect your ability to communicate with a UNIX server.

Secondly, Linux is much more common with web hosts due to its superior stability and because it is free. Since it is free, Linux hosting is usually cheaper than Windows. Just because it's free does not mean it's not as good - Linux is an excellent product too.

In order to help you, we have created a list of web hosts using Unix and a list of web hosts that use Windows.

--------------------

What is uptime?

Uptime is literally what it means - it is the amount of time your site is online throughout the entire month.

The best uptime would be 100%, but because things can break, many hosts offer 99.9% uptime guarantees. This means that if your site is not accessible for more than 43 minutes in a single month, they will reimburse you, depending on their terms of service.

--------------------

What is Virtual Hosting?

Also known as shared hosting, this form of web hosting should suffice for most everyone.

Virtual hosting simple refers to the fact that your site is on one server, and that this server hosts mulitple sites. You are virtually shared - your site will not be the only one on this specific server.

Very few sites would actually need the power of a dedicated server, so this option provides to be a reliable and cheap solution.

---------------------

Why don't I just go with the cheapest hosting?

A host has to make a profit to continue operating. Some hosts do not properly understand the market, and may be pricing themselves too cheap.
Usually the less you pay, the less you have :)

-------------------

Why would I need a dedicated IP?

For most people, a dedicated IP is not required. But for people that want to provide anonymous FTP or a website using SSL, a dedicated IP can make that easier

No comments:

Post a Comment