1. Trang chủ
  2. » Giáo Dục - Đào Tạo

ESSAY REPORT WEB PROGRAMMING AND APPLICATIONS WEB APPLICATION DEVELOPMENT

27 11 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 27
Dung lượng 1,4 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Intention: ➢ Know how to choose to buy / register domain names, web hosting.. When the company or a client want to buy the domain name, they can select a server that the domain name can

Trang 1

VIETNAM GENERAL CONFEDERATION OF LABOR

TON DUC THANG UNIVERSITY

INFORMATION TECHNOLOGY FACULTY

ESSAY REPORT WEB PROGRAMMING AND APPLICATIONS

HO CHI MINH CITY , 2021

Trang 2

INDEX

INDEX 1

CHAPTER 1 – INTRODUCTION 2

CHAPTER 2 – DOMAIN NAME & WEB HOSTING 3

CHAPTER 3 – CONFIGURE 12

CHAPTER 4 – UPLOAD SOURCE CODE 16

CHAPTER 5 – SSL CERTIFICATE 23

Trang 3

CHAPTER 1 – INTRODUCTION

Our team's topic is Web Application Development Get an overview of how to deploy

a web application after coding

Intention:

➢ Know how to choose to buy / register domain names, web hosting

➢ Know how to configure to point the domain name to web hosting and configure other necessary parameters

➢ Know different ways to upload source code to your hosting or cloud services Google, Amazon, Heroku

➢ Other issues such as: how to choose to buy and install an SSL certificate

Trang 4

CHAPTER 2 – DOMAIN NAME & WEB HOSTING

Before building and designing a website, we need to know clearly about what the domain name and the web hosting are? You can imagine that the website is a house, the domain name is an address, and the web hosting is a base for building your house Therefore, what is the domain name? How important it is? How to choose the domain name/ web hosting? Let’s try to find out

1 What is the domain name?

The domain name is a website’s name which works on the internet and plays a role as a physical address on it The domain name and the home address, or zip code are the same that help navigation satellite routers, so a browser also needs to the domain for linking and connecting to your website

For example: Hostinger.vn, Google.com, Facebook.com are the domain of an internet company When the company (or a client) want to buy the domain name, they can select

a server that the domain name can link to

Any register for the domain name is managed by ICANN Organization (Internet Corporation for Assigned Names and Numbers) ICANN manages the domain name which can be registered and stored data base

Web server is a computer which can store file and database for creating your website After that, it will be sent to users who access your site from their server

The domain name that users type on the website is the name, then the domain links to web server address, so browser is able to send a request for accessing web server If there

Trang 5

2 Purpose of buying the web hosting and the domain name

There are a lot of purposes that suitable for each user And there are some examples:

- For making a website to introduce their enterprise

- For developing an e-commercial projects

- For protecting corporate brand

- For SEO

- For selling and making a profit

- For storing data

- For advertisement

- For demo and developing a project at first

Overall, depending on the purpose and needs of use as well as the nature of the deployment project, we should buy hosting and domain name at the same time or after a certain period of time or just buy domain names or just buy hosting

3 Types of domain names

The domain name has a wide variety of names; however, they are the same which are separated 2 parts: first is name (as ‘Facebook’) and extended part (as ‘.com’) there are many extended parts, from country code (as ‘.co.uk’ or ‘.vn’) to specific code such as

‘.gov’ for government organizations and ‘.edu’ for education organizations, even though

‘.com’ domains is still held in priority on the internet with over 46.5% of websites having this domain name

4 Buy/Register the domain name

Registering the domain name simply and it is not special request In fact, we usually spend 5 minutes buying the domain name For example, you just access or go to one of the domain selling sites, choose a suitable domain name and go through the payment process You may need to request personal information entered in accordance with the rules of the ICANN domain name authority

Trang 6

CRITERIA DOMESTIC INTERNATIONAL

ADVANTAGES - Buy the domain name such

as vn, com.vn and international domain name such as com, net,…

- Can pay through Visa/Mastercard, Paypal and ATM with internet banking

- Not allow to register the domain name like vn, com.vn,…

- Not pay by ATM with internet banking

- Some suppliers don’t have Vietnamese interface

Some suppliers:

• International:

1 Bluehost – Free when you buy Hosting

Trang 7

2 HostGator – promotion with buying hosting

3 GODAADDY – Special Deal

Trang 9

STEP 1: Select “Register the domain name”

STEP 2: Check the domain name have used

Trang 10

STEP 3: Select the domain name you want and pay

Check your domain name and choose time you want to remain

STEP 4: Fill out information

Trang 11

STEP 5: Verify ownership of purchased domain name

This step is extremely important when it comes to domain registration, as it helps the provider confirm who owns the domain through the email address you entered when registering Normally, a confirmation form will be sent immediately after completing the above steps to purchase the domain name

The system sends an email form to confirm that you have registered a domain name, you just need to click on the link to confirm

In some cases, you may not receive the confirmation email, now you need to return to the Control Panel interface to resubmit the confirmation form Mona recommends that you click immediately to complete the confirmation procedure because if after 15 days after receiving the email without confirmation, the domain name will be suspended by the provider

Now that you have successfully purchased the domain name and completed the domain name validation process, you are now free to use it Then you proceed to point DNS to hosting and ready to create a website

5 Synthesis of 9 notes to choose the right domain name

a Find out and define your purpose

b Immutable principles when buying a domain name:

The maximum length for a domain name is 63 characters (including the extension vn, com, org and all other extensions)

Do not use any "spaces" in the domain name

Include only characters from the English alphabet (a-z), numbers (0-9), and the sign (-)

When using the (-) sign, you cannot put it at the beginning or end of the domain name

c Register domain name "easy to remember and easy to read"

d Should I buy a com domain name or a vn domain name?

e Make sure that your domain name is not pirated

f There should be no numbers (number) or hyphens (-)

g Should buy related domain names

h Check out social networking platforms

i Look ahead and predict trends

6 Transfer domain

Domain names can be transferred between registrars Although there are conditions attached are:

Trang 12

-The domain name has been registered or converted for 60 days or more

- The domain name is not in Redemption or Pending Delete status

- You have's domain authorization code (EPP code)

The owner information must be valid and the domain name information protection service must be turned off

Although the domain transfer is not a must, it is just more convenient and easier to manage if the hosting and domain are in the same place

7 Differences between web hosting and domain name

Domain names and web hosting have a symbiotic relationship like software and hardware or yin and yang While it is technically possible to have one without the other, they work best when they work together, which is why many web hosts offer domain name registration and why many The registrar provides hosting services

You can of course separate the two: register a domain name through one company and buy hosting from another But usually it takes more time to manage and the cost is not cheaper

8 Conclusion

Domain names play a very important role in branding You cannot build a reputation for your company's brand, without owning the domain name of that brand However, look for registrars and buy domain names in reputable safe places Smartly trust your company Buying and how to buy a domain name is important

Trang 13

CHAPTER 3 – CONFIGURE

Preparation:

- Domain purchased

- Hosting purchased

- Use the domain name management system of the purchased provider

3 WAYS TO POINT DOMAIN NAMES TO WEB HOSTING:

- Point the domain name at the Name Server of the Hosting

- Point domain name to IP address of Hosting: Use default Name Server of domain name provider (Use A record)

- Point the domain name to the IP address of the Hosting: Use an Intermediate Name Server

Each way will have its own pros and cons Depending on your goals, there will be different options

• Point the domain name at the Name Server of the Hosting

This is one of the most common ways to use it

The advantages of this approach are:

o Neat

o Easy to operate

o High likelihood of success Cons (for newcomers):

o Must find the Name Server address of the Hosting

o Must be able to access the Nameserver management area to change

• Point domain name to IP address of Hosting: Use default Name Server of

domain name provider (Use A record)

When purchasing the domain name successfully, you will always use the default name server of the provider In case you point to another name server, you need to point to the default

Advantages:

o Full choice of name server

o Manipulating the management of records is more convenient Record fast update

o Take advantage of some of the advanced services of the name server Defect:

o Must find the exact IP of the hosting provider

o Must have basic knowledge of Records such as: A, CNAME,

Trang 14

• Point the domain name to the IP address of the Hosting: Use an

Intermediate Name Server

Some of the most famous free Intermediate Name Servers today are: CloudFlare, Incapsula, Namecheap FreeDNS

Some advantages such as:

o Save bandwidth for the server

o Speed up access to the website because of using the cache (cache)

on the server of the CDN

o Increase website security, limit DDoS attacks, spam comments on blogs

o Use free SSL (improve SEO rankings) However, there are still some disadvantages such as:

o If the intermediate Nameserver server is down, your website will be interrupted

o The SSL of Intermediate Nameserver (Cloudflare) doesn't work on older operating systems

o Your website can be offline when the hosting firewall misunderstands CloudFlare's IP range as the attack address

This is an example to config the domain name points to web hosting

STEP 1: Find the Name Server address of the Hosting

As mentioned above, after Hosting is activated, you will have an email to your Hosting login account, along with the address of the Name Server of the provider

Below is the Nameserver information of some hosting providers

o StableHost

Trang 15

o HawkHost

o AZDIGI

STEP 2: Access the DNS management area of your domain name provider

The goal in this step is to change the Name Server Refer to "How to change the Name Server some domain name registrars" below for how to change Nameservers

Trang 16

For example, domain name register GoDaddy

STEP 3: Update progress and test

After you know the domain name registrar's Nameserver change area, enter the Name Server address of your hosting provider

For hosting using cPanel, after changing the name server, in case you want to change the records, go to cPanel → click Advanced Zone Editor to configure

Trang 17

CHAPTER 4 – UPLOAD SOURCE CODE Preparation:

- Website files: all the datas you have in folder public_html, source code file or even the newest backup

- Database files (if any)

- Administration of control panel of your hosting account

- FTP client (ex: FileZilla)

Steps to upload your Website:

Step 1: Pick a reliable web hosting company

Here are several factors that you should consider when choosing a hosting provider:

Live support A good hosting service should have a team of experts who can help you

at any time There’s no worse feeling than running into some issues and having to wait for days to get a response

Control over your web hosting space The less control you have over your account,

the more likely you are to run into trouble when your site grows

Room for growth Before you commit to a web host, make sure it offers scalable

solutions that can provide more power (such as virtual private servers or cloud

hosting)

Money-back guarantee Nobody likes a bad investment, so make sure to check for

a refund policy This will give you a time frame to test everything out before

committing to the service

Step 2: Choose your website upload method

There are four of the most popular tools to upload a website:

File Manager

A browser-based tool with all the key features to take care of your website files and

directories

Trang 18

However, the File Manager has an upload limit If your website files are larger than

256MB, you better use FTP instead

File Transfer Protocol (FTP)

Most web hosting providers include a File Transfer Protocol (FTP) service, so you can use it to connect to an FTP client FTP clients have no size limit, so you can upload as many files as you want

Trang 19

Automatic Website Importer

Some hosting providers use an Import Website to extract a website archive to

the public_html directory The tool supports zip, tar and tar.gz formats, and the upload limit is 256MB

WordPress Migration Plugins

If you plan to use WordPress, there are several ways to upload your website to the CMS One of the easiest methods is using a WordPress migration plugin like All in One WP Migration After installing and activating it, the rest of the steps are self-explanatory

Trang 20

Step 3: Upload Your Website File

Now that you know the best tools to upload a website, it’s time to get your hands dirty!

In this tutorial, we’ll show you how to upload your website using Hostinger’s File

Manager and a well-known FTP client, FileZilla

Using File Manager

1 Login to Hostinger’s hPanel and navigate to File Manager

2 Once you’re in the public_html directory, select the Upload Files icon from the

upper-right menu

3 Select the website archive file on your computer and Upload it to our server

4 Right-click on the uploaded file and Extract the archived files to the

public_html directory

Trang 21

Using FileZilla

Before we begin, make sure to extract the archive to your local computer as FileZilla doesn’t have an Extract feature

1 Connect your account to FileZilla

2 Navigate to Remote Site panel and click on the public_html folder

3 Head to the Local Site panel and locate the extracted files

4 Select the files, and right-click to Upload them to the public_html directory

Trang 22

That’s it! By following the above steps, you can transfer all files

to public_html without doing any extra work Otherwise, you’ll need to connect via

SSH and extract the archive manually

Step 4: Move the Website Files to the Main Root Directory

In some cases, an additional directory will be created when you upload website files

As a result, visitors will be directed to yourdomain.com/subfolder instead of the default yourdomain.com

To prevent that from happening, you need to make sure all the files are located in the

root directory of your domain, which is public_html

You can use the File Manager to move your website files All you need to do is click on the subfolder, select the Move option, and set public_html as the destination Use this tutorial for more detailed guidance

right-Step 5: Import Your Database

If your website uses a database, you’ll also need to import it along with your website files:

1 Create a new MySQL database and user

2 Access your newly created database via phpMyAdmin

3 Use the Import section to upload the backup file of your database

4 Update the MySQL database connection details

(database name, host, user, password) in its configuration files

For more detailed steps, check out our guide on how to restore a database using

phpMyAdmin Skip this part if you don’t use any database

Step 6: Check If the Website Works

Once the website files are uploaded, it’s time for a final check!

If your domain name is already pointed to your web host, enter the domain name into

your browser and see if it directs you to your website

Keep in mind that DNS changes can take up to 48 hours to fully propagate worldwide

As such, if you just pointed your domain to the web host’s name servers, you might need to wait for a while

Ngày đăng: 21/12/2021, 10:23

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w