问题原文
原帖链接 · jonboy · CC BY-SA 4.0
I have an online presentation to do next week and I have it all ready to go.
The website is HTML and CSS only (no DB), and currently resides on my shared hosting account.
Now, although my shared hosting is (relatively) reliable, I have noticed that recently they have been making some changes and my website has been unavailable at times.
I don't want this to happen to me on the morning of my presentation, so I am asking what is the best way to prepare for such a thing?
My domain is www.presentation.example.com and I would like to keep this if possible (even if issues arise).
I have been thinking of a few alternatives:
Host my site on two different domains or servers (but what about the domain name?)
Have a portable XAMPP version on a USB stick (again, domain name?)
Possible failover site/location
Update:
The presentation will be carried out on their laptop, not mine. So I am unable to install any software.
已采纳解答
原帖链接 · h22 · CC BY-SA 4.0
Normally, you do not need any server just to view raw HTML files, even if they reference other files, CSS and JavaScript. Simply double click on any file and it will open with the default browser of your machine from the local file system.
However you may need to check if your static content has no absolute references to other files or other resources (<a href='http://example.com/extra.html'>) and only contains relative references (<a href='extra.html'>). It is a good practice anyway.
Best would be to copy in advance the content into hard drive of the laptop will be using, and test the presentation. Bring also the same content in USB stick or CD disk, in case you would suddenly need to use another machine.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
