Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Web programming

Similar presentations


Presentation on theme: "Introduction to Web programming"— Presentation transcript:

1 Introduction to Web programming 0731213

2 Lecture 1 Domain registration and web hosting services.

3 Launching a Website Starting a website can be very simple. There are essentially just three main components to every website. Domain Name A domain name is an address that visitors use to view your website on the web. When starting a website, it's important to find a good domain name that represents your brand or business. Domain names are typically sold annually and can be renewed prior to expiration. Web Hosting After you have a domain name registered, the next step is to get a web hosting package from a web hosting company.  Point your domain to your web hosting account by changing the name servers for that domain name. Website Programming languages like PHP, Ruby, Python, Perl and ASP.net can also be used to create dynamic web sites. 

4 Why You Need Web Hosting
The first step in building your online presence is finding a web host Web hosting company is the company that will store your website's files on its servers and deliver them to your readers' and customers' browsers. Web hosting services offer varying amounts of monthly data transfers, storage, , and other features. Even how you pay (month-to-month payments vs. annual payments) can be radically different, too, so taking the time to plot exactly what your company needs for online success is essential.

5 Determine what kind of hosting package you will need
Many web hosting companies offer different packages, some of which are free, which will usually fit almost any web hosting needs. Some popular web hosting companies with low-cost starting packages are: GoDaddy.com 1&1 Internet Hosting HostGator.com Hostmonster.com BlueHost.com DreamHost.com and countless other

6 Important Features to Look for in a Web Host
Amount of Storage: How much data can I store? Amount of Bandwidth: What is the amount of data that your host will let you and your visitors upload and download (cumulatively) in a given month? Number of Domains and Subdomains: How many domains a web host will let you host? Accounts: How many accounts they’ll let you set up? Database Support: What type of database you’re comfortable with? MySQL, PostsgreSQL, Oracle, SQL Server …etc. Tech Support: Can you phone the hosting company? At what times? Do they have a support address? A ticket system? What’s their promised response time? How about a live chat?  Language Support: What is the languages you want to use? PHP, .Net, Ruby …etc. Choice of OS: What is the best OS for your website? if you’re developing in ASP.NET, you’ll need Windows hosting. If you’re using an open source language, you probably will need Linux/Unix hosting.

7 best free web hosting providers
000Webhost (Bandwidth: 100GB | Disk Space: 1.5GB | Ads: No | Panel: Cpanel | MySQL Databases: 2 | Website: 1 |  accounts: 5 | Domain hosting: yes | FTP: Yes) Freehostia (Bandwidth: 6GB | Disk Space: 250MB | Ads: No | Panel: Elefante | MySQL Databases: 1 | Website: 1 |  accounts: 3 | Domain hosting: yes | FTP: No) 5GBfree (Bandwidth: 20GB | Disk Space: 5GB | Ads: No | Panel: Cpanel | MySQL Databases: 3 | Website: 1 |  accounts: 0 | Domain hosting: yes | FTP: Yes) FreeHosting.com (Bandwidth: 250GB | Disk Space: 10GB | Ads: No | Panel: Cpanel | MySQL Databases: 1 | Website: 1 |  accounts: 1 | Domain hosting: yes | FTP: Yes) Byethost (Bandwidth: 50GB | Disk Space: 1GB | Ads: No | Panel: Cpanel | MySQL Databases: 5 |Website: 1 |  accounts: 5 | Domain hosting: yes | FTP: Yes)

8 Best free web hosting providers
Awardspace (Bandwidth: 5GB | Disk Space: 1GB | Ads: No | Panel: Proprietary | MySQL Databases: 1 | Website: 1 |  accounts: 1 | Domain hosting: yes | FTP: Yes) FreeHostingEU (Bandwidth: 4GB | Disk Space: 200MB | Ads: No | Panel: Proprietary | MySQL Databases: 1 | Website: 1 |  accounts: 1 | Domain hosting: yes | FTP: Yes) U Host Full (Bandwidth: 1000GB | Disk Space: 1000GB | Ads: No | Panel: Proprietary | MySQL Databases: 2 | Website: 1 |  accounts: 2 | Domain hosting: yes | FTP: Yes) Free Web Hosting No Ads (Bandwidth: 200GB | Disk Space: 20GB | Ads: No | Panel: Cpanel | MySQL Databases: 3 | Website: 1 |  accounts: 3 | Domain hosting: yes | FTP: Yes)

9 How to buy a hosting package?
Usually buying a hosting package is done using the following steps: Sign in/Sign up to a web hosting company website Select a hosting package that best suits your website. Choose a domain name that is not used yet Fill your billing information Enter the cPanel Import the database Upload the website files on the server using ftp client Open your browser and put your domain name into the address bar to check your website. Note: You can purchase a domain separately from purchasing a hosting package but you need to point your domain to your web hosting account by changing the name servers for that domain name.

10 Lecture 2 upload files with FileZilla

11 How to upload files with FileZilla
Step 1: Ensure that FileZilla is running Step 2: Start the FileZilla administration interface by clicking the "Admin" button in the XAMPP control panel.

12 How to upload files with FileZilla
Step 3: Connect to your account using FileZilla. Host: Enter your domain name. Username: Enter the same username you use to login to your control panel. Password: Enter the same password you use to login to your control panel. Port: Leave it blank for FileZilla to auto-detect it (enter 21 if it doesn't work).

13 How to upload files with FileZilla
Step 4: Navigate to your "public_html" folder. When FileZilla connects, it will do so to the root directory of your account, so you must navigate to the "public_html" folder. The public_html folder is the place where you *must* upload any file that you want to have available online

14 How to upload files with FileZilla
Step 5: Locate your website files in your computer. Once FileZilla is connected and you are in the "public_html" folder of your web hosting account, you must locate the files you want to upload. Use the two panels shown below to browse your hard drive(s) and locate those files.

15 How to upload files with FileZilla
Step 6: Upload your website files. Once you've located the website files you want to upload, simply drag and drop them into the righ-side panel (the one showing your public_html folder). The bottom panel will show the progress of your files being uploaded. Once it stops, you can check your website with your favorite web browser. Note: Keep in mind that the main page of your site must always be "index.php” or “default.php” in order for it to show up automatically in your browser.

16 References https://www.w3schools.com/
Robin Nixon, Learning PHP, MySQL, JavaScript, and CSS, 2013 Mike McGrath, PHP & My SQL in easy steps, 2012.

17 The End


Download ppt "Introduction to Web programming"

Similar presentations


Ads by Google