Scaling API-first – The story of a global engineering organization
Server specifications.docx
1. 1.Server specifications
1. Security - When looking into website hosts you want to make sure they provide some security
measures to protect their servers. Unfortunately, there are many hackers and spam bots out there
trying constantly to find vulnerabilities and make their way into your site. You need assurances
that your site will be safe from their side of things.
2. Server maintenance - You want to make sure that the website host adequately maintains the
server to ensure there are limited to no attacks. Check to see if the website host you are looking
into has a security protocol which includes upgrades and patches.
3. SSL certificates - SSL Certificates are needed if you plan on hosting e-commerce
websites. However, Google now recommends having one to secure your site even if you are not
an e-commerce site. Google will begin marking non-HTTPS pages.
4. Backups - Having a backup procedure is extremely important when it comes to any
business. So when you are looking for the right website host you need to know if they do regular
backups in case something were to ever go wrong your site can be restored.
2. How web pages are fetched by web browsers
1. Browser sends request - After a browser has performed the DNS lookup, it sends an HTTP
request to the appropriate server.
2. Server responds - Once the server receives a request, it will respond, though how will depend
on a number of things. For example, the page requested may no longer exist on the server and the
server will send back a 404 (file not found) error. If this is the case your browser needs to make
another request for the file at the new location.
3 Browser renders the page - Once your browser receives an HTML file, it needs to render the
page and it has to go through a few steps before you see it displayed.
3. Describe the structure of URL.
https://machakosboyshighschool.co.ke/home
1. https:// - scheme (tellswebserverswhichprotocol touse whenitaccessesapage on your
website.)
2. Machakoshighschool - subdomain(A subdomain in a URL indicates which particular page
of your website the web browser should serve up.)
3. .com - Top level domain(specifies what type of entity your organization registers as on the
internet.)
2. 4. Describe the processandthe requirementsof runningajavascriptcode.
To add JavaScriptto an HTML page,youneedto surrounditin special scripttags. Whenthe browser
seesthese tags,itknowstotreat the textthat followsasJavaScriptunlessthe userhasJavaScript
supportturnedoff,inwhichcase the browserignoresthe code.