Скачать презентацию Virtual Hosting Services SAS Lecture 7 Topik Скачать презентацию Virtual Hosting Services SAS Lecture 7 Topik

b3447485f05f595775030bc3e065074c.ppt

  • Количество слайдов: 14

Virtual Hosting Services SAS Lecture 7 Virtual Hosting Services SAS Lecture 7

Topik • Bagaimana website yang berbeda-beda dapat di “virtually hosted” pada satu server? • Topik • Bagaimana website yang berbeda-beda dapat di “virtually hosted” pada satu server? • Bagaimana Membuat web site lebih reliable dalam traffic yang sangat tinggi

Hosting services • Ada yang bisa menjelaskan hosting services ? Hosting services • Ada yang bisa menjelaskan hosting services ?

Contoh Sederhana Web Hosting Irene’s ISP www. joes-hardware. com Content Joe client Internet www. Contoh Sederhana Web Hosting Irene’s ISP www. joes-hardware. com Content Joe client Internet www. cajun-gifts. com www. marys-antiques. com client Content Mary www. irenes-isp. com

Virtual Hosting • Apa itu virtual hosting ? Virtual Hosting • Apa itu virtual hosting ?

Virtual Hosting Irene’s ISP Content www. joes-hardware. com www. marys-antiques. com Joe Content client Virtual Hosting Irene’s ISP Content www. joes-hardware. com www. marys-antiques. com Joe Content client Internet www. cajun-gifts. com client www. irenes-isp. com Mary

Virtual Server, Kurangnya informasi host (A getting http: //www. joeshardware. com/index. html) GET /index. Virtual Server, Kurangnya informasi host (A getting http: //www. joeshardware. com/index. html) GET /index. html HTTP/1. 0 User-agent: Super. Browser v 1. 3 Client A Internet GET /index. html HTTP/1. 0 User-agent: Web. Surfer Client B 2000 (B getting http: //www. marysantiques. com/index. html) www. voting-info. gov www. joes-hardware. com www. marys-antiques. com /voting /mary /joe HTTP/1. 0 requests do not contain hostname information, so they do not support web servers that host multiple web sites. (HTTP/1. 1 supports a Host header to fix this problem)

Membuat Virtual Hosting • Virtual hosting dengan URL path • Virtual hosting dengan port Membuat Virtual Hosting • Virtual hosting dengan URL path • Virtual hosting dengan port number • Virtual hosting dengan IP address • Virtual hosting dengan Host header

Virtual hosting dengan URL path • http: //www. joes-hardware. com/joe/index. html • http: //www. Virtual hosting dengan URL path • http: //www. joes-hardware. com/joe/index. html • http: //www. marys-antiques. com/mary/index. html • The problem?

Virtual hosting dengan port number HTTP servers • Install banyak • listens 80 • Virtual hosting dengan port number HTTP servers • Install banyak • listens 80 • listens 81, and so on. • The problem?

Virtual hosting dengan IP address • Multiple IPs dipasang pada single computer. • 1 Virtual hosting dengan IP address • Multiple IPs dipasang pada single computer. • 1 IP 1 host. • The problem?

Virtual hosting dengan IP address www. voting-info. gov=209. 172. 34. 2 www. joes-hardware. com=209. Virtual hosting dengan IP address www. voting-info. gov=209. 172. 34. 2 www. joes-hardware. com=209. 172. 34. 3 www. marys-antiques. com=209. 172. 34. 4 Dest IP address Directory 209. 172. 34. 2 209. 172. 34. 3 209. 172. 34. 4 /voting /joe /mary 209. 172. 34. 3 Client A Internet /voting /mary /joe 209. 172. 34. 4 Client B

Virtual hosting dengan Host header • HTTP/1. 1 solution • Menggunakan satu IP, satu Virtual hosting dengan Host header • HTTP/1. 1 solution • Menggunakan satu IP, satu port untuk menyediakan request ke hosts yang berbeda-beda.

Virtual hosting dengan Host header (A getting http: //www. joeshardware. com/index. html) GET /index. Virtual hosting dengan Host header (A getting http: //www. joeshardware. com/index. html) GET /index. html HTTP/1. 1 User-agent: Super. Browser v 1. 3 Host: www. joes-hardware. com Client A www. voting-info. gov www. joes-hardware. com www. marys-antiques. com Internet /voting /mary /joe Client B GET /index. html HTTP/1. 1 User-agent: Web. Surfer 2000 Host: marys-antiques. com (B getting http: //www. marys-antiques. com/index. html) The HTTP Host header carries the hostname information that would otherwise be lost in normal server requests, allowing name-based virtual hosting