Jump to content

How do i make my site unavailable for sometime?


Recommended Posts

Posted

How can i make my site unavailable to other users for sometime?

 

So that i am able to install php fusion without any problem?

 

i mean the site will be available only to me and no one else.

Posted

Do you now anything about htaccess and do you know what your ip address is? If you do than add this to your htaccess file and make a "Under Construction" page for the 403 Error.

 

ErrorDocument 403 http://your_site.heliohost.org/under_construction.html
Order Deny,Allow
Deny from all
Allow from 208.113.134.190

 

If your ip isn't static you might have to add it several times like this:

 

ErrorDocument 403 http://your_site.heliohost.org/under_construction.html
Order Deny,Allow
Deny from all
Allow from 208.113.134.187
Allow from 208.113.134.189
Allow from 208.113.134.190
Allow from 208.113.134.191
Allow from 208.113.134.192

 

See how the last 3 numbers change?

 

 

Posted
Do you now anything about htaccess and do you know what your ip address is? If you do than add this to your htaccess file and make a "Under Construction" page for the 403 Error.

 

ErrorDocument 403 http://your_site.heliohost.org/under_construction.html
Order Deny,Allow
Deny from all
Allow from 208.113.134.190

 

If your ip isn't static you might have to add it several times like this:

 

ErrorDocument 403 http://your_site.heliohost.org/under_construction.html
Order Deny,Allow
Deny from all
Allow from 208.113.134.187
Allow from 208.113.134.189
Allow from 208.113.134.190
Allow from 208.113.134.191
Allow from 208.113.134.192

 

See how the last 3 numbers change?

 

Thanks^^ that worked.

 

anyway i don't know much about htaccess.

 

but that command helped.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...