codecamp

学习前端网页寄存(通称虚拟主机)

网页寄存服务是指一类 Internet 寄存服务,该服务允许组织和个人将他们的站点连接至互联网以供他人访问。网页寄存商在他们的数据中心提供可供用户购买或租用的主机,同时将这些主机接入互联网。网页寄存商也可以为数据中心中放置的其他公司服务器提供接入互联网的服务,这种服务称作主机托管(colocation),亦称 Housing in Latin America or France.

维基百科

https://raw.githubusercontent.com/xitu/front-end-handbook-2017/zh-Hans/images/host.jpg

图片来源:http://www.alphaelite.com.sg/sitev2/images/stories/webhostdemo.jpg

入门学习:


学习前端 HTTP/Networks(包括 CORS 和 WebSockets)
学习前端开发
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }