Since my server is running off my personal laptop, it has quite a lot of down time. Is it possible to have a page that shows up when someone tries to access the site while the server is offline?
Yes, with another server. You can't show pages without server.
If your server is unreachable, then the user browser shows a default page that explains that your server is unreachable...
With an external service (external server) it is possible. A lot of ways to do it. Look for solutions about load balancing for example.
But only with apache on your laptop, I think it is impossible.
Try superuser.com, you'll certainly get more answers about your problem.
Related
I have asked a similar question before here I sort of fixed it but im still facing a similar issue. Every time I try to load localhost, port 8095, I receive this error message in Google Chrome:
Google Chrome's connection attempt to localhost was rejected. The
website may be down, or your network may not be properly configured.
If there is a way to fix it, please tell me,
If not, please could someone inform me how to reset IIS to its original settings. Or if I can reset Windows Features so I can re-install ISS from scratch.
My website uses ASP with a connection to a SQL Server database (2012). Basic HTML pages also don't load under the URL, localhost:8095/
The servers were stopped because 2 services within administrative tools had stopped. World Wide Web Publishing Service and Web Management Service
I've made a mobile native app with a feed system like Instagram/Twitter. In development mode I was just running a PHP/MySQL Apache local server, but now I need to publish the app and work with a real server. Which kind of server do I need? I just need to send http requests (JSON), loads of them!
Do I just need a hosting server like 1and1? (http://www.1and1.com/linux-web-hosting?__lf=Static)
But this one, it only has 1GB MySQL databases... not enough
Is there any kind of app/server whatever? Which kind of server does Instagram use?
These days lots of users are moving to the cloud.
Check out Amazon EC2: http://aws.amazon.com/ec2/
You can setup a micro instance server and it is very cheap to run tests on and get off the ground. Then if you like how it's running, you can simply upgrade to a more powerful server without having to re-install everything.
It also allows you to scale if your application gets really popular by just cloning the server.
Really worth checking out.
I am currently developing a site on my localhost, using mamp, which I then push up to the live site using git. Here is my question. When I refresh the page on my localhost it takes up to a minute to load the page again. When I refresh the page on the live site it refreshes almost instantly. On each refresh it does a couple database queries, but nothing big.
I am using a mysql database, a codeigniter framework, and my site is hosted by Hostgator.
Thanks!
First of all, let me say that this is impossible to answer without a lot more information. That being said, my best guess would be that your local MAMP installation doesn't have as much memory allocated as your actual web server. The amount of RAM PHP has access to can be modified in your php.ini file or using ini_set("memory_limit","256M");
However, if your host machine doesn't have a lot of RAM to begin with, then this probably won't make a difference...
Ive done a fair amount of searching on this, but ive struggled to find the answer.
At present I have an access program that sits on a remote windows 2008 server and users can log into it through a remote app. In the local version of my program, users can hit a button and email through outlook, but obviously if your accessing it remotely it tries to open outlook remotely.
So here's the question: Is there any functionality that will allow me to open Outlook locally whilst using the remote app?
Ive read about scriptable virtual channels but i would like someone to confirm if this is possible (or call me a moron for even contemplating the idea).
Thanks in advance.
Split the database. Your client will then open Outlook locally.
Here is some info that might be helpful if you do not know how to split the database and what the benefits are: http://office.microsoft.com/en-us/access-help/split-an-access-database-HA010342026.aspx
I just uploaded a Wordpress site from my local machine to a Bluehost shared server. Ran fine locally, but now it is loading very slowly (107 seconds for home page). Bluehost tech support ran GTMetrix site analyzer and came back with "it's the CSS in your theme". They say nothing is wrong with the server.
I definitely need to clean up my CSS, but I didn't think it could have such a large impact on load times. Am I wrong?
Looking at the resource load times with Chrome's developer tools makes it immediately clear that it's your main document that is responsible for the delay; not the CSS, not anything else.
Therefore we have to assume it's something in your own code that causes the delay. Since it worked fine when run locally, the most likely scenario is that your code is trying to connect to some server (perhaps a database?) that it cannot connect to, and the delay is due to the connection finally timing out.
Recommendation: double check the places where you make connections to any external resource, and especially the credentials used when you do so. Is your host authorized to make these connections the same as your local development machine is? If you are connecting by IP, are those IPs accessible from your host?
The problem is loading
http://ad.doubleclick.net/adi/N5192.395082.LOT18.COM/B5529584;sz=300x250;ord=[timestamp]?
which is probably a script?
That takes 59 seconds for me. The rest is fast.
From the Chrome dev tools (Network tab): http://screencast.com/t/8DdtXeEv
The solution: turn off your ads.
You can use quick cache plugin which will speed up you site without compromise.
http://wordpress.org/extend/plugins/quick-cache/