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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...