SlideShare a Scribd company logo
HOSTING A PHP/MySQL
WEBSITE

  How to host your PHP/MySQL website at less cost?




                  Created on 15th of December, 2009
WHAT THIS IS           NOT ABOUT?
   This presentation is NOT about
       HTML / PHP or any other web technology
       MySQL Database Concepts
       How to connect database with a web
        site?
       A Prospectus of a Web Hosting Company
       Pay Per Click Systems
       Referral Gathering Presentation
       Making Money using internet.
OUR ASSUMPTIONS
   Let us have the following assumptions about
    our web site.

Nature of Web Site      Database Driven
Database Used           MySQL
Server Side Scripting   PHP
No.of databases used    Very few (1 preferably)
Site Activity           Moderately Busy
Total size of files     Preferably less than
                        100 Megabytes.
OUR REQUISITES
   In order to run our website on the
    world wide web, we need two things.
   These two things are the factors
    which decide the cost, performance
    and utility of your web site.
   They are:
       1. Hosting Service
       2. Domain Name
Hosting Service
   Imagine, you are about to start a
    coffee shop.
   What do you need in the first place?
   The answer is “SPACE” 
   Yes, you need a shop space to run
    the business.
   You have to buy/rent a reasonable
    amount of shop space.
Hosting Service (contd…)
   Our First Requirement – “Hosting
    Service” is the space for our web site
   Hosting means copying your web
    site’s files to a computer which is
    always connected to internet.
   This hosting computer is usually
    called the “Server”.
   This server serves your web pages all
    over the world.
Domain Name
   Now, after establishing a coffee shop,
    you would like to trademark your
    shop name.
   For example, Let us assume our
    coffee shop’s name is “Coffee Café™”
   If we trademark the name, then, no
    other person can start a shop in the
    name “Coffee Café™”
   It gives your shop an identity.
Domain Name (contd…)
   Trademarking gives a authorised name to
    your shop.
   Similarly, Domain Name gives a authorised
    name to the files you have stored on a
    hosting server.
   For, example, you may want to get a
    domain name of myownsite.com for your
    web site.
   In short, domain name is just an authorised
    name (like yahoo.com, gmail.com) for your
    web site.
Server Requirements
   The Requirements of a Server:-
         Always (or most of the time) ON
         Very high RAM capacity to handle busy
          traffic
         Internet connection with very large
          bandwidth
         Logging facility to record all the requests.
         High Quality hardware to prevent failures.
         Preferably, a backup facility to retrieve the
          files and data lost due to a crash.
Buying Required Space
   Because of the stringent requirements, we
    cannot afford to have a server at home.
   So, in order to host a web site, we have to
    contact people who already have these
    servers.
   And, buy/rent a certain amount of space on
    the server’s hard disk to store our web
    site’s files.
   Yes, this is similar to starting a shop. 
The Cost Factor for Hosting
   The cost of the hosting space
    depends upon how much space you
    want.
   More the space, more is the cost.
   More the traffic expected, more is the
    cost.
   More the facilities, more is the cost.
   More the support, more is the cost. 
Types of Servers
   There are two types of servers:
         Static servers, which do not support any files
          other than HTML, CSS, JS and Flash
         Dynamic servers, which provide a database
          connection support, and server side
          programming (like PHP, ASP, JSP) too.
   Naturally, dynamic servers cost more than
    the static servers.
   The cost depends on cost of software for
    the database access and language used for
    server side programming.
Hosting usually includes…
   Hosting service also includes the
    following facilities most of the times:
         A Control Panel
         E-mail Facility
         Web Page Editing Facility
         FTP service
         File Manager to upload files via HTTP
         Statistics of traffic (web analytics)
         Sub-domain Management
         And much more…
Free Hosting
   Some hosting providers provide
    hosting services for free.
   This is possible due to the following
    reasons:
         They display ads on your web pages. These
          generate income to host your web site.
         They display ads on your control panel, but
          not on your web pages.
         They use open-source technologies like
          PHP/MySQL available free of cost.
Some Popular Free PHP/MySQL
Hosts
   Justfree.com – No conditions, no ads
   X10hosting.com – Requires periodic
    forum posting, no ads
   Heliohost.org – No conditions, high
    quality features, bandwidth high.
   Izfree.com – No conditions, no ads
   Zymic.com – No conditions, no ads
   Freewebhostingarea.com – Popup Ads
    present on your pages
Sign up and sub-domain allocation
   Go to any free/paid hosting site.
   Complete registration (including email
    verification, if any)
   Check your mailbox to know about
    how to access your site.
   Usually, the hosters allocate a sub-
    domain for your account username.
   For eg., your site can be accessed
    from http://username.hostname.com
Paid Hosting
   If you are very serious about your website,
    then, opt for paid hosting
   Paid hosting has more security.
   The cheapest paid hosting service I have
    seen is hostso.com (with great features
    also) (around Rs.350/year)
   Usually, a credit/debit card or a paypal
    account is needed to pay.
   Feel free to contact the support team of the
    hoster to get details on modes of payment.
Uploading Files
   Login to your control panel. (Details
    can be found in mail from hoster)
   Go to file manager.
   Upload,rename,delete files from the
    provided console.
   Some hosters provide FTP uploading
    facility.
   Some hosters enable you to upload
    zip files and extract them on server.
Testing our website
   Go to the site URL found in the mail
    from the hoster.
   You can view your web site from the
    server.
   For MySQL database creation, use the
    control panel database tools.
   To upload a backup of database from
    your local system, use phpMyAdmin
    found in Contol Panel.
Buying a Domain Name
   Now that we have a hosting service, we
    have to buy a domain name (similar to
    Trademark)
   Many companies act as domain registrars,
    who register domain names for people.
   They charge you on a per year basis.
   .com, .org, .net, etc (except .in) are
    available for around Rs.450/year.
   .in domain is available for around
    Rs.750/year.
Some Popular Domain Registrars
   GoDaddy.com
       This is the most popular domain registrar.
   Krify.com
       Though this is not so popular, it is a reliable
        service, dealing in Indian money.
       You can send Demand Drafts also to register a
        domain.
   Many registrars can be found by Googling.
    Try to get results that suit you.
   The price is not much different for different
    domain registrars.
Free Pseudo-Domain Names
   Some sites like co.cc offer you
    subdomains like yourname.co.cc for
    free. But, this looks like a top level
    domain name.
   One more site is freedomain.co.nr
    that gives you free domain name with
    co.nr. But, you need to link back to
    them on your home page.
Linking Domain Name with Hosting
   Visit your hoster’s email or site to know about
    the name of the “Name servers” of your
    hosted web site.(eg: ns1.host.com)
   Check the mail from your domain registrar
    and login to your domain administration
    panel.
   Enter the name servers of your web site in
    the “Name Servers” setting page of your
    domain registrar.
   This can take up to 24 hours to come into
    effect.
   Then, go to your domain name and you will
    see your hosted website.
Web Site Hosting Budget
   You can start a fully functional,
    professional web site just at Rs.0 only
           Provided, you get a co.cc or co.nr domain
           Provided, you get a free hosting service
   For people who want a .com domain,
    maximum budget is Rs.500 per year
    (including postage, if any)
           Provided, you choose free hosting service
   For professionals, the minimum
    budget is Rs. 1000 per year.
Start Now!!!
   Then what? Start Now.
   Wish you a profitable and happy web
    presence.
   Any query/suggestion can be mailed
    to me.
   Thanks and Regards
                           Vivek Ganesan
                vivek@vivekganesan.com
                   caliberoviv@gmail.com

DISCLAIMER: THE PRICES/DETAILS ARE ABOUT TO CHANGE ANYTIME.

More Related Content

PPTX
Domains Explained
PPT
First Hosted Joomla! site
PPTX
WORKSHOP ON OWN WEBSITE LAUNCHING On March, 11th Sunday 2018 Morning 10 A.M ...
PPTX
Websites 101
PDF
Domain Name Registration: A Detailed Guide
DOCX
Webhostmaker
PPT
Basic Lecture on Domains and Webhosting
PPT
BA 65 Hour 3 - Getting Your Site Online
 
Domains Explained
First Hosted Joomla! site
WORKSHOP ON OWN WEBSITE LAUNCHING On March, 11th Sunday 2018 Morning 10 A.M ...
Websites 101
Domain Name Registration: A Detailed Guide
Webhostmaker
Basic Lecture on Domains and Webhosting
BA 65 Hour 3 - Getting Your Site Online
 

What's hot (20)

KEY
Setting up your first website
PPT
BA 65 - Getting Your Site Online
 
PPTX
The need for domain parking
PPTX
Website Planning & Designing By Er. Kapil Bhargava
PDF
Hosting
PPT
West Valley Writers-Staking Out Web
PDF
Creating Multilingual WordPress Websites
PPTX
Subdomain Takeover
DOCX
Web hosting with free domain name
DOCX
What does unlimited domain hosting mean
PPTX
Creating Multilingual WordPress Websites
DOCX
Ix web hosting domain
PPTX
Blackrock intro presentation
PDF
Cache Rules Everything Around Me
PPT
Click and Create Sales Presentation
PPTX
Subdomain takeover
PPTX
Dot Com In A Day
PPTX
Measuring WordPress Performance
PPT
NEPA BlogCon 2013 - Blogging 101 (Culp)
PPSX
Installing WordPress
Setting up your first website
BA 65 - Getting Your Site Online
 
The need for domain parking
Website Planning & Designing By Er. Kapil Bhargava
Hosting
West Valley Writers-Staking Out Web
Creating Multilingual WordPress Websites
Subdomain Takeover
Web hosting with free domain name
What does unlimited domain hosting mean
Creating Multilingual WordPress Websites
Ix web hosting domain
Blackrock intro presentation
Cache Rules Everything Around Me
Click and Create Sales Presentation
Subdomain takeover
Dot Com In A Day
Measuring WordPress Performance
NEPA BlogCon 2013 - Blogging 101 (Culp)
Installing WordPress
Ad

Viewers also liked (20)

PPTX
Case study presentation 1
PPTX
Don't Judge a Book By It's Cover: My Life as a Librarian
PPTX
The Only Limitation Is Your Imagination: Using Creativity and the LGM to Driv...
PPTX
לשון קשורה - ד"ר רועי פורר
PPTX
Getting Things Done: Influencing Change With Limited Resources and Authority
PPTX
Putting Customers First Lasts
PPTX
Leveraging Bite-Sized Video for Learning (COMO 2011)
PPTX
Seven Deadly Sins of Time Management
PPTX
Launching Your e-Learning Program: Six Secrets for Success with Skillsoft
PPTX
Your Patrons and GALILEO (COMO 2011)
PPTX
Building Effective Teams
PDF
הגשת ביניים ראשונה
DOC
Pruebas Y Precios Reconocimientos 2009 10
PDF
Your Springboard to Nanotech
DOCX
GeografíA9no.Lectura De Mapa
DOCX
GuíA De Historia
PPSX
How to make a mit easily
DOC
Composicion Grupos F7
PPT
G 2 Flier 75
PDF
הגשת ביניים ראשונה
Case study presentation 1
Don't Judge a Book By It's Cover: My Life as a Librarian
The Only Limitation Is Your Imagination: Using Creativity and the LGM to Driv...
לשון קשורה - ד"ר רועי פורר
Getting Things Done: Influencing Change With Limited Resources and Authority
Putting Customers First Lasts
Leveraging Bite-Sized Video for Learning (COMO 2011)
Seven Deadly Sins of Time Management
Launching Your e-Learning Program: Six Secrets for Success with Skillsoft
Your Patrons and GALILEO (COMO 2011)
Building Effective Teams
הגשת ביניים ראשונה
Pruebas Y Precios Reconocimientos 2009 10
Your Springboard to Nanotech
GeografíA9no.Lectura De Mapa
GuíA De Historia
How to make a mit easily
Composicion Grupos F7
G 2 Flier 75
הגשת ביניים ראשונה
Ad

Similar to How to create_a_website (20)

PDF
Web Hosting.pdf
PDF
Colocation Dedicated / VPS / Cloud Servers Data Centers - IT4INT Pvt Ltd Mark...
PPT
hosting.ppt
PPT
Deploying a website
PDF
Domain and Hosting: Who Needs them and Why?
DOCX
The best website hosting
PPTX
Topic 1introduction into wordpress cms tutorial
PPT
Download Presentation
PPT
webhostlectureppt.ppt
PPTX
Web host
PDF
Nameserver: What Is It And What Does It Do?
PPTX
Domain racer web-hosting
PPT
Webmaster
PPT
Webmaster
PDF
Domain Name and Web Hosting: What Are the Differences? 
PDF
Website Building Part 01 - Basics.pdf
PPTX
Get Your Website Off the Ground
PPTX
Web tips
PPT
webhostlecture (1).ppt
PPT
webhostlecture (1).ppt
Web Hosting.pdf
Colocation Dedicated / VPS / Cloud Servers Data Centers - IT4INT Pvt Ltd Mark...
hosting.ppt
Deploying a website
Domain and Hosting: Who Needs them and Why?
The best website hosting
Topic 1introduction into wordpress cms tutorial
Download Presentation
webhostlectureppt.ppt
Web host
Nameserver: What Is It And What Does It Do?
Domain racer web-hosting
Webmaster
Webmaster
Domain Name and Web Hosting: What Are the Differences? 
Website Building Part 01 - Basics.pdf
Get Your Website Off the Ground
Web tips
webhostlecture (1).ppt
webhostlecture (1).ppt

Recently uploaded (20)

PPTX
AREAS OF SPECIALIZATION AND CAREER OPPORTUNITIES FOR COMMUNICATORS AND JOURNA...
PDF
Beyond the Lab Coat - Perjalanan Karier di Dunia Pasca-Fisika S1
PPTX
mathsportfoliomanvi-211121071838 (1).pptx
PPTX
1751884730-Visual Basic -Unitj CS B.pptx
PDF
Career Overview of John Munro of Hilton Head
PPTX
Definition and Relation of Food Science( Lecture1).pptx
PPT
notes_Lecture2 23l3j2 dfjl dfdlkj d 2.ppt
PPTX
CYBER SECURITY PPT.pptx CYBER SECURITY APPLICATION AND USAGE
PPT
BCH3201 (Enzymes and biocatalysis)-JEB (1).ppt
PDF
Sheri Ann Lowe Compliance Strategist Resume
PPTX
A slide for students with the advantagea
PPTX
STS CHAP 4 human development as reflected
DOCX
PRACTICE-TEST-12 is specially designed for those
PPTX
Overview Planner of Soft Skills in a single ppt
PPTX
Condensed_Food_Science_Lecture1_Precised.pptx
PDF
Shopify Store Management_ Complete Guide to E-commerce Success.pdf
PDF
LSR CASEBOOK 2024-25.pdf. very nice casbook
PDF
Beginner’s Guide to Digital Marketing.pdf
PDF
MCQ Practice CBT OL Official Language 1.pptx.pdf
PPTX
Digital Education Presentation for students.
AREAS OF SPECIALIZATION AND CAREER OPPORTUNITIES FOR COMMUNICATORS AND JOURNA...
Beyond the Lab Coat - Perjalanan Karier di Dunia Pasca-Fisika S1
mathsportfoliomanvi-211121071838 (1).pptx
1751884730-Visual Basic -Unitj CS B.pptx
Career Overview of John Munro of Hilton Head
Definition and Relation of Food Science( Lecture1).pptx
notes_Lecture2 23l3j2 dfjl dfdlkj d 2.ppt
CYBER SECURITY PPT.pptx CYBER SECURITY APPLICATION AND USAGE
BCH3201 (Enzymes and biocatalysis)-JEB (1).ppt
Sheri Ann Lowe Compliance Strategist Resume
A slide for students with the advantagea
STS CHAP 4 human development as reflected
PRACTICE-TEST-12 is specially designed for those
Overview Planner of Soft Skills in a single ppt
Condensed_Food_Science_Lecture1_Precised.pptx
Shopify Store Management_ Complete Guide to E-commerce Success.pdf
LSR CASEBOOK 2024-25.pdf. very nice casbook
Beginner’s Guide to Digital Marketing.pdf
MCQ Practice CBT OL Official Language 1.pptx.pdf
Digital Education Presentation for students.

How to create_a_website

  • 1. HOSTING A PHP/MySQL WEBSITE How to host your PHP/MySQL website at less cost? Created on 15th of December, 2009
  • 2. WHAT THIS IS NOT ABOUT?  This presentation is NOT about  HTML / PHP or any other web technology  MySQL Database Concepts  How to connect database with a web site?  A Prospectus of a Web Hosting Company  Pay Per Click Systems  Referral Gathering Presentation  Making Money using internet.
  • 3. OUR ASSUMPTIONS  Let us have the following assumptions about our web site. Nature of Web Site Database Driven Database Used MySQL Server Side Scripting PHP No.of databases used Very few (1 preferably) Site Activity Moderately Busy Total size of files Preferably less than 100 Megabytes.
  • 4. OUR REQUISITES  In order to run our website on the world wide web, we need two things.  These two things are the factors which decide the cost, performance and utility of your web site.  They are:  1. Hosting Service  2. Domain Name
  • 5. Hosting Service  Imagine, you are about to start a coffee shop.  What do you need in the first place?  The answer is “SPACE”   Yes, you need a shop space to run the business.  You have to buy/rent a reasonable amount of shop space.
  • 6. Hosting Service (contd…)  Our First Requirement – “Hosting Service” is the space for our web site  Hosting means copying your web site’s files to a computer which is always connected to internet.  This hosting computer is usually called the “Server”.  This server serves your web pages all over the world.
  • 7. Domain Name  Now, after establishing a coffee shop, you would like to trademark your shop name.  For example, Let us assume our coffee shop’s name is “Coffee Café™”  If we trademark the name, then, no other person can start a shop in the name “Coffee Café™”  It gives your shop an identity.
  • 8. Domain Name (contd…)  Trademarking gives a authorised name to your shop.  Similarly, Domain Name gives a authorised name to the files you have stored on a hosting server.  For, example, you may want to get a domain name of myownsite.com for your web site.  In short, domain name is just an authorised name (like yahoo.com, gmail.com) for your web site.
  • 9. Server Requirements  The Requirements of a Server:-  Always (or most of the time) ON  Very high RAM capacity to handle busy traffic  Internet connection with very large bandwidth  Logging facility to record all the requests.  High Quality hardware to prevent failures.  Preferably, a backup facility to retrieve the files and data lost due to a crash.
  • 10. Buying Required Space  Because of the stringent requirements, we cannot afford to have a server at home.  So, in order to host a web site, we have to contact people who already have these servers.  And, buy/rent a certain amount of space on the server’s hard disk to store our web site’s files.  Yes, this is similar to starting a shop. 
  • 11. The Cost Factor for Hosting  The cost of the hosting space depends upon how much space you want.  More the space, more is the cost.  More the traffic expected, more is the cost.  More the facilities, more is the cost.  More the support, more is the cost. 
  • 12. Types of Servers  There are two types of servers:  Static servers, which do not support any files other than HTML, CSS, JS and Flash  Dynamic servers, which provide a database connection support, and server side programming (like PHP, ASP, JSP) too.  Naturally, dynamic servers cost more than the static servers.  The cost depends on cost of software for the database access and language used for server side programming.
  • 13. Hosting usually includes…  Hosting service also includes the following facilities most of the times:  A Control Panel  E-mail Facility  Web Page Editing Facility  FTP service  File Manager to upload files via HTTP  Statistics of traffic (web analytics)  Sub-domain Management  And much more…
  • 14. Free Hosting  Some hosting providers provide hosting services for free.  This is possible due to the following reasons:  They display ads on your web pages. These generate income to host your web site.  They display ads on your control panel, but not on your web pages.  They use open-source technologies like PHP/MySQL available free of cost.
  • 15. Some Popular Free PHP/MySQL Hosts  Justfree.com – No conditions, no ads  X10hosting.com – Requires periodic forum posting, no ads  Heliohost.org – No conditions, high quality features, bandwidth high.  Izfree.com – No conditions, no ads  Zymic.com – No conditions, no ads  Freewebhostingarea.com – Popup Ads present on your pages
  • 16. Sign up and sub-domain allocation  Go to any free/paid hosting site.  Complete registration (including email verification, if any)  Check your mailbox to know about how to access your site.  Usually, the hosters allocate a sub- domain for your account username.  For eg., your site can be accessed from http://username.hostname.com
  • 17. Paid Hosting  If you are very serious about your website, then, opt for paid hosting  Paid hosting has more security.  The cheapest paid hosting service I have seen is hostso.com (with great features also) (around Rs.350/year)  Usually, a credit/debit card or a paypal account is needed to pay.  Feel free to contact the support team of the hoster to get details on modes of payment.
  • 18. Uploading Files  Login to your control panel. (Details can be found in mail from hoster)  Go to file manager.  Upload,rename,delete files from the provided console.  Some hosters provide FTP uploading facility.  Some hosters enable you to upload zip files and extract them on server.
  • 19. Testing our website  Go to the site URL found in the mail from the hoster.  You can view your web site from the server.  For MySQL database creation, use the control panel database tools.  To upload a backup of database from your local system, use phpMyAdmin found in Contol Panel.
  • 20. Buying a Domain Name  Now that we have a hosting service, we have to buy a domain name (similar to Trademark)  Many companies act as domain registrars, who register domain names for people.  They charge you on a per year basis.  .com, .org, .net, etc (except .in) are available for around Rs.450/year.  .in domain is available for around Rs.750/year.
  • 21. Some Popular Domain Registrars  GoDaddy.com  This is the most popular domain registrar.  Krify.com  Though this is not so popular, it is a reliable service, dealing in Indian money.  You can send Demand Drafts also to register a domain.  Many registrars can be found by Googling. Try to get results that suit you.  The price is not much different for different domain registrars.
  • 22. Free Pseudo-Domain Names  Some sites like co.cc offer you subdomains like yourname.co.cc for free. But, this looks like a top level domain name.  One more site is freedomain.co.nr that gives you free domain name with co.nr. But, you need to link back to them on your home page.
  • 23. Linking Domain Name with Hosting  Visit your hoster’s email or site to know about the name of the “Name servers” of your hosted web site.(eg: ns1.host.com)  Check the mail from your domain registrar and login to your domain administration panel.  Enter the name servers of your web site in the “Name Servers” setting page of your domain registrar.  This can take up to 24 hours to come into effect.  Then, go to your domain name and you will see your hosted website.
  • 24. Web Site Hosting Budget  You can start a fully functional, professional web site just at Rs.0 only  Provided, you get a co.cc or co.nr domain  Provided, you get a free hosting service  For people who want a .com domain, maximum budget is Rs.500 per year (including postage, if any)  Provided, you choose free hosting service  For professionals, the minimum budget is Rs. 1000 per year.
  • 25. Start Now!!!  Then what? Start Now.  Wish you a profitable and happy web presence.  Any query/suggestion can be mailed to me.  Thanks and Regards Vivek Ganesan vivek@vivekganesan.com caliberoviv@gmail.com DISCLAIMER: THE PRICES/DETAILS ARE ABOUT TO CHANGE ANYTIME.