Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-10-2009, 01:22 AM   PM User | #1
millsi80
New Coder

 
Join Date: Jun 2008
Posts: 93
Thanks: 12
Thanked 1 Time in 1 Post
millsi80 is an unknown quantity at this point
Gateway page

Hello,

Currently I have my site hosted in with shared hosting, and I am moving it over to a VPS. The domain is with the shared hoster and I know how to move the domain over to my VPS hoster.

I want to move my domain over to my VPS hoster so that it will be easier to move my site over.

My question is how would I go about creating some sort of gateway saying "Down for Maintenance, please come by later" for everyone to see and not be able to navigate the site....except for me as I move my site over?

I know this is a bit confusing but if you could help me out that would be great!
millsi80 is offline   Reply With Quote
Old 09-10-2009, 01:41 AM   PM User | #2
bazz
Master Coder

 
Join Date: Apr 2003
Location: in my house
Posts: 5,211
Thanks: 39
Thanked 201 Times in 197 Posts
bazz will become famous soon enoughbazz will become famous soon enough
when I have done it several times, I upload the site to the new server, I switch the dns to point to the new site and, when the new site is live, the old one goes away, when the account is closed. no need for a maintenance page then as it switches quickly from one to the other.

bazz
__________________
"The day you stop learning is the day you become obsolete"! - my late Dad.

Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
Useful MySQL resource
Useful MySQL link
bazz is offline   Reply With Quote
Old 09-10-2009, 02:04 AM   PM User | #3
millsi80
New Coder

 
Join Date: Jun 2008
Posts: 93
Thanks: 12
Thanked 1 Time in 1 Post
millsi80 is an unknown quantity at this point
Thats true, as long as I keep the same folder structure it could work...I will try that, thanks
millsi80 is offline   Reply With Quote
Reply

Bookmarks

Tags
gateway, page

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:12 PM.


Advertisement
Log in to turn off these ads.