ĩntention: > Know how to choose to buy / register domain names, web hosting.. You can imagine that the website is a house, the domain name is an address, and the web hosting is a base fo
Trang 1WEB APPLICATION DEVELOPMENT
INDEX
1
Trang 2CHAPTER 1 - INTRODUCTION
Our team's topic is Web Application Development Get an overview of how to deploy
a web application after coding
ĩntention:
> Know how to choose to buy / register domain names, web hosting
> Know how to configure to point the domain name to web hosting and configureother necessary parameters
Know điíierent ways to upload source code to your hosting or cloud servicesGoogle, Amazon, Heroku
Other issues such as: how to choose to buy and install an SSL certificate
Trang 3CHAPTER 2 - POMATN NKME & WEB PQSTTNG
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 ís the domaỉn name?
The domain name is a website’s name which works on the internet and plays a role as aphysical address on it The domain name and the home address, or zip code are thesame 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 internetcompany When the company (or a client) want to buy the domain name, they canselect a server that the domain name can link to
Any register for the domain name is managed by ICANN Organization (InternetCorporation for Assigned Names and Numbers) ICANN manages the domain namewhich can be registered and stored data base
Trang 4Web server is a Computer which can store fĩle 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
webesiisrvsrthể'Kmỉỉinocbríoffseỉaiífeiafelrètfiémnổra;Sia,cuiyỉíifoíaaccgsópgeĩVềb ừerenMI-'
they want to access
2 Purpose of buying the web hosting knd 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
- F or developing an e-commercial proj ects
- 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 thedeployment 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- Typ es of domain names.
The domain name has a wide variety of names; however, they are the same which areseparated 2 parts: first is name (as ‘Facebook’) and extended part (as ‘.com’) there aremany extended parts, from country code (as ‘.co.uk’ or ‘.vn’) to specific code such as
‘.gov’ for government organizations and ‘.edu’ for education organizations, eventhough ‘.com’ domains is still held in priority on the internet with over 46.5% ofwebsites having this domain name
4 Buy/Register the domain name.
Registering the domain name simply and it is not special request In fact, we usuallyspend 5 minutes buying the domain name For example, you just access or go to one ofthe domain selling sites, choose a suitable domain name and go through the paymentprocess You may need to request personal information entered in accordance with therules of the ICANN domain name authority
Trang 5ADVANTAGES - Buy the domain name such
as vn, com.vn andinternational domain namesuch as com, net,
- Can pay throughVisa/Mastercard, Paypal andATM with internet banking
'Nío^íome’ fikeisveí thom vn,
- Not pay by ATM with internetbanking
- Some suppliers don’t have
identity
Trang 62 HostGator - promotion with buying hosting
3 GODAADDY - Special Deal
Trang 7• .Domestỉc:
2 MONA MEDIA
Trang 8This is an example for you when you want to buy the domain name on MONA MEDIAwith 5 steps.
Select a reputable address to register a domain name (you can choose to buy now atdomain.mona.media)
Use the check tool to see if the name is registered yet, if no one has registered, you canbuy that domain name
Choose the right domain name and pay to buy the domain (if the domain name youchoose already has buyers, the system will suggest some other domain names for you
to choose from)
STEP ; 7 Select -Register the domkin oame”
STEP 2: Check the domaio oame have used
Trang 9STEP 1: Select the domkin name you wknt and pky
ĩypp Ihi" doiii.nl ĩ r._i ir.il 1*J " I
Nhã đâng ký tên mỉền
D|«Ỉ1 vụ vá íhảjft sóc Khách háng
Mi
HẺ trợ 24.7
Hệ tliàng qusn tri dẽ d-ang vá thõng ntlnh
íttậ-t quyền ựá Thăng tin li hách háng
Trang 10Check your domain name and choose time you want to remain
STEP 47 Fill out informktion
STEP 5; Verify ownership of purchased domain name
This step is extremely important when it comes to domain registration, as it helps the
Trang 11provider coníĩrm who owns the domain through the email address you entered whenregistering Normally, a confirmation form will be sent immediately after completingthe 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
Trang 12In 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 daysafter receiving the email without coníìrmation, the domain name will be suspended by
the provider
Now that you have successfully purchased the domain name and completed the domainname validation process, you are now free to use it Then you proceed to point DNS tohosting 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 theextension 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 thesign (-)
When using the (-) sign, you cannot put it at the beginning or end of the domainname
c Register domain name "easy to remember an' easy to read"
d Shourd 1 buy a com aomain 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 conditionsattached are:
-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)7
The owner information must be valid and the domain name information protectionservice must be turned off
Although the domain transfer is not a must, it is just more convenient and easier tomanage 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 andhardware or yin and yang While it is technically possible to have one without the
Trang 13other, they work best when they work together, which is why many web hosts offerdomain name registration and why many The registrar provides hosting services.
Trang 14You can of course separate the two: register a domain name through one company andbuy hosting from another But usually it takes more time to manage and the cost is notcheaper.
Domain* iSmỔ^ạy^ very important role in branding You cannot build a reputationfor 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 yourcompany Buying and how to buy a domain name is important
CHAPTER 3 - CONFIGURE
Prepkrktion:
- 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 ofdomain name provider (Use A record)
- Point the domain name to the IP address of the Hosting: Use an
Intermediate Name Server
Trang 15Each way will have its own pros and cons Depending on your goals, therewill be different options.
• Poỉnt the domaỉn name at the Name Server of the Hostỉng
This is one of the most common ways to use it
The advantages of this approach are:
o Easy to operate
o High likelihood of successCons (for newcomers):
o Must find the Name Server address of the Hosting
o Must be able to access the Nameserver management area tochange
• Poỉnt domaỉn name to ỈP address ọf Hostỉng: Use default Name Server
ọf domaỉn name provỉder (Use A recordì
When purchasing the domain name successfully, you will alwaysuse the default name server of the provider In case you point to anothername server, you need to point to the default
Advantages:
o Full choice of name server
o Manipulating the management of records is more convenientRecord fast update
o Take advantage of some of the advanced services of the nameserver
Defect:
o Must find the exact IP of the hosting provider
oMust have basic knowle'ge of Records such as: A? CNAME
• Poỉnt the domaỉn name to the IP address of the ỉĩostỉng: ưse an
ỉntermedỉate Name Server
Some of the most famous free Intermediate Name Servers todayare: CloudFlare, Incapsula, Namecheap FreeDNS
Some advantages such as:
o Save bandwidth for the server
Trang 16o 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 onblogs
Trang 17o 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 (CloudAare) doesn't work
on older operating systems
o Your website can be offline when the hosting firewallmisunderstands CloudFlare's IP range as the attack address
Thỉs ỉs an example to config the domaỉn name poỉnts to web hostỉng
STEP 17 Find the Nkme Server kddress of the Hosting
As mentioned above, after Hosting is activated, you will have an email to your Hostinglogin account, along with the address of the Name Server of the provider
Below is the Nameserver information of some hosting providers
oStableHost
Server Iníũimatiún
Serv&r Name ídJid±ElHtoflhQfiÌJìaGl
1f you art’ u&ing an existing dornain w.tn your [?.'■ Ànosttng aủcounl, yũu wi I rieed io updalã thc
namesộrưers 10 poinl tọ Ihe bem
Narneserver 1r i&taÙtt&Q£Ỉ co.ơ’ pV/19? 218 10)
Nameserver 2: 'is2 skrứie'ìưĩil turr' i 193.192 219.10)
Trang 18New Account Inỉormation:
Su liự'.:: DNS iiỊr đim
o G I liu”-.■ n h '' : 111: I-.::
in!-STEP 2: Access the DNS mknkgement krek of your domkỉn name provider
The goal in this step is to change the Name Server Refer to "How to change the NameServer some domain name registrars" below for how to change Nameservers
For example, domain name register GoDaddy
káíi Ittàn lai dỉtv iQuó trlnỉi Ihcty <ỊẾ> Cở Ihí phni rntid Nn Ể4 Qiờ?
Trang 19STEP 3: Updkte progress knd test
After you know the domain name registrar's Nameserver change area, enter the NameServer address of your hosting provider
For hosting using cPanel, after changing the name server, in case you want to changethe records, go to cPanel ^ click Advanced Zone Editor to configure
CHAPTER 4 - UPLOAD SOURCE CODE
Trang 20- Website files: all the datas you have in folder public_html, source code fĩle or eventhe newest backup
- Database files (if any)
- Kpmcõễí^xn Ẽflewnfiroí panel of your hosting account
Steps to upload your Website:
step 1; Pick k relikble 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 yo.u.r web hosting spkce.The.iless control vpu 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 scalablesolutions that can provide more power (such as Virtual private servers or cloud
Money-bkck gukrkntee Nobody likes a bad investment, so make sure to check for
a rehmd policỵ This will give you a time frame to test everything out before
committing to the service
step 2: Choose your vvebsite upload method
There are four of the most popular tools to upload a website:
File Mknkger
A browser-based tool with all the key features to take care of your website files and
directories
Trang 21File Trknsfer Protocol (FTP)
Most web hosting providers include a File Transfer Protocol (FTP) service, so you canuse it to connect to an FTP client FTP clients have no size limit, so you can upload asmany files as you want
Trang 22Automatic Website Importer
jfiiji°ftíỉff)ffi<ẳejuì.eĩ«bIwpỉtiỉiPêbát.izj, sẹỉSr%ađ>.w?bátfôkỄfiỉỉíivsàteJ the
upload limit is 256MB.
Import your website
STOựino 0 jp tor nr Tnr gr cr,k' ơf nll >■ 'II' rnipqiỉn ’i-'T nnd ' r WI 1 IVI ùítrartccl rl 'naT V rs Trn pubiÍG htm "'■n ■' in I ùhci
X cr-oứăe a MIÍB
WordPress Migration Plugins
If you plan to use WordPress, there are several ways to upload your website to theCMS One of the easiest methods is using a WordPress migration plugin like A11 in
Trang 23VEemdiT ùpioacỊ :iiesiz&! Ĩ2-B MB
Ị-P-ĩtt-kE iHLla^e iy s lì , rhiui‘-i I.:
One WP Migration After installing and activating it, the rest of the steps are explanatory