大网数据广告活动
网站运营与故障问答

How can I make sure my website will be available during a presentation?

· 52CE 我爱测

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, …

问题原文

原帖链接 · 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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2014-08-19)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。