Hot answers tagged

14 votes
Accepted

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

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 ...
  • 266
10 votes

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

Since your site is static, one solution is to use CloudFlare, because it can still serve cached pages if your site goes down (with proper configuration). It will be transparent if there is an issue. ...
7 votes

Why does Chrome resolve websitename.localhost as localhost?

From https://ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/ There's a proposal to add the .localhost domain as a new standard, which will make lives of developers way easier. It would ...
  • 171
7 votes
Accepted

Why does Chrome resolve websitename.localhost as localhost?

From the Wikipedia entry for .localhost (TLD): As a top-level domain, the name has traditionally been defined statically in host DNS implementations with address records (A and AAAA) pointing to ...
  • 41.6k
6 votes
Accepted

Can't install XAMPP on my Windows XP computer due to httpd.exe and php.exe no being valid win32 applications

OS is winxp sp3. The Apache Friends download page for XAMPP states that Windows XP is no longer supported by the application. However, an alternative link is given for this OS. Windows XP or 2003 ...
  • 41.6k
6 votes

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

If the website is HTML and CSS only, You don't need a host. Just throw it on the USB stick that that you're going to use for the redundant WAMP environment and run it from whatever machine you plug it ...
  • 161
5 votes

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

You can simply open the internet page locally and display it in your browser. If you even want to show a different domain name, you can use XAMPP to open a local webserver. Host your website there and ...
5 votes

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

You could host the static content using Amazon S3. See http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html for a guide as to how. Basically you sign up for an AWS account, upload your ...
  • 151
4 votes

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

So many overly-complicated answers. The website is HTML and CSS only (no DB), and currently resides on my shared hosting account. You do not need Apache You do not need XAMP (or similar) You do not ...
  • 79
4 votes

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

If you are using Git for version control of your site... (not to judge... but you kinda should be if it's an important project!) You can host your entire website on Github's "project pages". ...
2 votes
Accepted

Sync MySQL databases?

Keeping two databases in sync is known as "replication". MySQL supports database replication. In fact one of their use cases seems to match yours pretty well: Long-distance data distribution - ...
2 votes

Trying to have multiple domains, connect to a same XAMPP server but with different websites

Yes, you can do this. Assuming you are using Apache then you can do something like the following using mod_rewrite in either the server config or per-directory .htaccess file: RewriteEngine On ...
  • 41.6k
2 votes
Accepted

How to remove port number from the URL?

Change the port number from 90 to 80 to remove it from the URL. The default port number for HTTP is port 80. If you use any other port number, that port number has to be specified in the URL. ...
2 votes
Accepted

Which version of XAMPP is compatible for php 5.4.45 and where can I find it?

The last version of XAMPP to be based on PHP 5.4 appears to have been the XAMPP 1.8.2-x series, culminating in version 1.8.2-6. But it also seems that 1.8.2 series used MySQL 5.5 not 5.6. The first ...
2 votes
Accepted

How to stop backslash working on XAMPP

Backslashes in file-paths in Apache directives As far as I know, there is no option in Apache to prevent Apache/Windows from interpreting the backslash as a directory separator. However, it is ...
  • 41.6k
1 vote

PHP file not running using XAMPP

"404 Not Found" response means file doest not exist in that directory. i would suggest to recheck the name of the file you are calling. there might be some file naming issue
1 vote
Accepted

Getting HTML includes to work with XAMPP

The error was in the vhost file. Error I received: "Expected </VirtualHost> but saw </Directory>". Deleted the </Directory>, replaced it with </VirtualHost>. ...
  • 252
1 vote

Trying to have multiple domains, connect to a same XAMPP server but with different websites

Virtual Hosts: <VirtualHost *> ServerAdmin admin@localhost.com DocumentRoot "C:/xampp/htdocs" # change this line with your htdocs folder ServerName localhost ServerAlias localhost <Directory ...
1 vote

Access Forbidden XAMPP

Hm... try to put this code into your host file. <Directory "/path/to/your/dir"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow ...
  • 3,858
1 vote

Can't install XAMPP on my Windows XP computer due to httpd.exe and php.exe no being valid win32 applications

I just went through this trying to set up my old XP machine with XAMPP. Do not use the 1.8.2 downloads from Sourceforge: they are either corrupt or invalid, or they come with the files but no ...
  • 19
1 vote

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

To make sure your website is available, you can use round-robin DNS. You can order two hosting packages with two different IP's and use round-robin DNS for load balancing. If one IP is offline, the ...
  • 2,343
1 vote

Can I use cloudflare to point my domain to a project hosted on XAMPP?

If you have an internet connection with static IP address, you can do it. First you have to create an entry in the Apache's VirtualHost on xampp with the domain name, and port. Here is a tutorial on ...
1 vote

Installing plugins and themes on Wordpress by web browser GUI

WordPress only prompts for FTP credentials when the web server process does not have the essential file and folder permissions. You're need to make sure that your folders are using 750, or 755 and ...
  • 32.6k
1 vote

Hosting a web site for local network

Where is your website directory on your local filesystem? My guess is that you've probably put the files in the wrong place. When you request <host>/xampp/ (a URL) it's actually serving the ...
  • 41.6k
1 vote

XAMPP alias or rewrite?

... however they lose the page that they were going to. I'm not sure what you mean by this - they shouldn't "lose" anything? However, the URL in the address bar will not be updated - if that is what ...
  • 4,277
1 vote

Xampp on external drive

You mount the drive as you would any other. This will usually make the files on it available via /Volumes/Something/ on your local file system. You can then specify that location as a DocumentRoot or ...
  • 1,609
1 vote

Sync MySQL databases?

There are hundreds of variations to development workflow and what you use should be tailored to what you need and how you work. XAMPP offers the ability to develop locally. It doesn't provide an ...
  • 5,042
1 vote

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

And, last but not least, make screenprints of all the webpages you were planning to display. Hey, it's worked for me. Put them in Power Point or just organized by name/sequence. Murphy's Law has no ...
  • 181
1 vote

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

I think you can write them onto a notepad document, save as foo.html or something along those lines, and open, it won't rely upon the internet (admittedly I'm not sure how to fit the CSS in there I've ...
  • 111

Only top scored, non community-wiki answers of a minimum length are eligible