Web Hosting and Domain Name Registration Prepared By Roshan Gunathilake (Bsc Computer Science Sp., SCJP, SCWCD) Page 1
Client Server Architecture Client server architecture is a common network architecture which connects multiple machines to a server. Server is a computer with higher performance and shares resources with clients. Internet is also a larger network where clients access resources in web servers via web browsers. What is Hosting? Web sites need to be available on web servers to make them available to clients. Required server software has to be installed on web server. We can maintain our own server or we can purchase a web space from a hosting provider to publish our web site. There are some free hosting providers are also available which provide limited facilities. What is domain name? Each machine in a network has an IP address for the purpose of identification. Same way web servers also have an IP. So there is a specific number to identify each web site. Even though we can browse a certain web site with a number, human mind prefers to remember words over numbers. Therefore each number will be identified with a domain name. These names are saved in DNS Servers along with their related IPs. Register a domain name There are several domain extensions available and you can select a certain domain depending on your purpose..com is the most common extension and used for commercial purposes..net,.org,.info are also popular. Other than these there are country specific domain names. Eg :- Sri Lanka -.lk 1. You have to check whether a certain domain name is available to purchase. You can t register it if it is already registered. 2. Then you can fill out the order form and provide the who is data required. 3. Domain is pointed using name server details or IP address of your web server. Normally 2 name servers called primary and secondary are used for this purpose. 4. After transfer the payment, domain will be allocated. A domain will be registered by domain registrars on behalf of you. ICAAN is the authorized body for domain registrations and it has assigned regional registrars. There are other registrars under regional registrars. The domain actually represents a number. It takes some time to update name servers and available on both forms. This process is called propagation. Prepared By Roshan Gunathilake (Bsc Computer Science Sp., SCJP, SCWCD) Page 2
Allocate a Hosting Space You need to consider many things before you purchase a web space to host your web site. Prepared By Roshan Gunathilake (Bsc Computer Science Sp., SCJP, SCWCD) Page 3
Web Space: Amount of space you have on web server. Depends on total file size of web site. Band Width : The data transmission speed of the web server. Normally it s measured for 1 month. Band width depends on factors like number of visitors, uploads, downloads and page views. Hosted Domains : Number of Domains you can host in same space. Annual Pay : Amount we have to pay for the web space per year. Parked Domains : We can park multiple domains for same web sites. When ever you browse one of these domains, same site will be visible. Sub Domains : You can creates sub domains from your main domain. eg: -saman.abc.com FTP Accounts : We can transfer files to web space using an FTP (File transfer Protocol) account without accessing control panel. Cpanel : Control panel which allows you to maintain your web space POP3 emails : The email accounts which you create with domain name. eg :- saman@abc.com Web programming languages support: PHP,JSP,ASP Supported Databases : Supported database technologies and number of databases which can be created. eg:- MySQL Server Uptime : Uptime is the time a server has been up and running. Opposite of it is down time. The most common way to indicate is nines. Eg ;- 5 nines 99.999% When the server space is allocated we can add our domain to web space. Then we can create my sql databases with cpanel and upload files with FTP connection. SMTP Simple Mail Transfer Protocol is an internet standard for email transmission across IP networks. POP 3 Post Office Protocol is an application layer internet standard protocol used by local email clients to retrieve email from a remote server. Web Traffic Web traffic is the amount of data sent and received by visitors to a web site. It depends on number of visitors and number of pages they visit. Prepared By Roshan Gunathilake (Bsc Computer Science Sp., SCJP, SCWCD) Page 4
Control Panel Features of Cpanel 1. Change Password 2. Change cpanel style 3. Web mail accounts 4. Auto responders 5. FTP accounts 6. Analog stats 7. Password protect directories 8. Sub Domains 9. Add on domains 10. Parked domains 11. Phpmyadmin 12. Virus scanner 13. File manager 14. MySQL databases Prepared By Roshan Gunathilake (Bsc Computer Science Sp., SCJP, SCWCD) Page 5
Filezilla Filezilla is fast and reliable FTP client software. Free to download and use. 1. Free download Filezilla and install 2. Host : your domain, username : FTP username, password : FTP password, port :21 (default) 3. It shows the local machine window and web space (remote site) on the right side. 4. Simply drag and drop from left side to right side. First steps of SEO 1. Provide meta descriptions and key words 2. Submit your URL to search engines a. Eg :- google.com/addurl Prepared By Roshan Gunathilake (Bsc Computer Science Sp., SCJP, SCWCD) Page 6
How to Publish a Joomla Web Site Upload the content in your joomla folder into www folder of the server. You can install a zip file and extract for a quick upload. Create a MySQL Database in Cpanel. Prepared By Roshan Gunathilake (Bsc Computer Science Sp., SCJP, SCWCD) Page 7
Create a MySQL user. Prepared By Roshan Gunathilake (Bsc Computer Science Sp., SCJP, SCWCD) Page 8
Add MySQL user to database. Provide all privileges to the user. Go to cpanel home and select phpmyadmin Prepared By Roshan Gunathilake (Bsc Computer Science Sp., SCJP, SCWCD) Page 9
Select the database you created Import your SQL file. Prepared By Roshan Gunathilake (Bsc Computer Science Sp., SCJP, SCWCD) Page 10
Change the following configuration.php file and upload. 1. User 2. Password 3. Db name as username_database name Visit the url from web browser to view your site. www.yourdomain.com Prepared By Roshan Gunathilake (Bsc Computer Science Sp., SCJP, SCWCD) Page 11