Web Hosting Talk







View Full Version : Can you make your site down?


Nam
10-23-2001, 06:31 PM
I know this is the craziest and weirdest question, but just wondering, if you are on virtual shared hosting, is there anyway to make your site down temporarily to people? For personal reason I think I have to do that, any idea?

SI-Chris
10-23-2001, 06:34 PM
Delete all your web pages?

km
10-23-2001, 06:36 PM
yeah.. it's crazy..
may b a .htaccess can make it 'look like down'?

p/s: is this related with web hosting?

allera
10-23-2001, 06:38 PM
Make a "temporarily down" index.html and make an index2.html for you to work from. I'm not sure if that's what you were looking for...

Neko =^.^=
10-23-2001, 06:46 PM
Just mv everything to your home directory making everything inaccessible.

sji2671
10-23-2001, 06:57 PM
Either delete your index.html page, or replace it with a temporarily down message.

dektong
10-23-2001, 07:05 PM
Easiest thing to do:

chmod 700 public_html/

then ... only you (and root) will have access to your site.

But if you want to access your site while others can't, then the suggestions above should work!

cheers,
:beer:

IGobyTerry
10-23-2001, 07:17 PM
Or something I'd do is go to a site that I know doesn't exist and copy the 404 message, then paste it into my index.html file. For some odd reason I find that funny... anyone have a clue why cause I don't.

(SH)Saeed
10-23-2001, 08:14 PM
What I always do is I move the main site (all files) to another directory and then I create a temporarily index.html (which explains what is going on), then I make a .htaccess file containing: "ErrorDocument 404 /index.html", now whatever page they try to load on the site, they will see the temporarily down page.

claytons
10-23-2001, 08:17 PM
This is the first time I have seen a customer wanting their site down:D

Wow!

:scatter: :scatter:

Cheers,

Clayton:cool:

m6.net
10-23-2001, 08:21 PM
Or simply ask your hosting company to stop it :)

The Prohacker
10-23-2001, 08:35 PM
is there anyway to make your site down



Well you could join *****...

But honestly, you could make a .htaccess file and put 'deny all' in it and place it in your public_html dir...

Nam
10-23-2001, 09:30 PM
I know the sounds crazy :).

What I want is completely down, even to myself, not down using file like 404.shtml style. The site has to be down to the visitor, not making the html saying down like allera suggested. The 404 error that comes from IE.

Wouldn't want to simple to tell host to do it either, then later if the site down and I complaint, they'd say: "you want your site down before, now why complaining?" know what I mean?

Anyhow, I got an idea now, thanks, ***** would love to have customer like me :D.

Sesran
10-23-2001, 10:56 PM
Just change your nameservers at the Registrar to point to the wrong ones. As long as you have no DNS entry into that zone, your fine.