Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-16-2014, 02:32 PM   #1
DirtyDanza
Confirmed User
 
DirtyDanza's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: BP4L.... Las Vegas,
Posts: 8,369
one domain 2 servers

how can I do this

I have a client with a live site wanting a new site... they want to keep old site live at host while new site is being built on new host...

this is from client

The existing website is hosted at 75.99.142.202. CNAME www and root of the domain point to that IP. The rest of the domain is at 65.254.248.204, including the WP. We can redirect www and the root domain to 65.254.248.204, but we need you to redirect any http traffic to 75.99.142.202. His current site uses ASP and we do not use it on our new server. Once the your site is complete, we can remove the redirect.


this is above my pay grade .... simple fixes?
__________________
AVN Nominated Camming Couple
DirtyDanza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2014, 03:04 PM   #2
Bec
Confirmed User
 
Bec's Avatar
 
Join Date: Jul 2004
Location: Ohio
Posts: 293
I don't understand a lot of what you are wanting, but I do know you can host the main domain on one server, and a sub-domain on a different server. Perhaps you can build the new site on the sub domain/new server, and when all is complete, move the domain name to the new server or have the host put an auto re-direct on the original server site to the sub-domain.

You change the A name for the sub to point to the original DNS. There is an article that describes the steps: http://css-tricks.com/put-a-subdomai...ferent-server/
Bec is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2014, 03:09 PM   #3
robwod
Confirmed User
 
Industry Role:
Join Date: Nov 2005
Posts: 2,539
Another easy, temporary, solution is to put the new site on your new server and assign the domain to an IP in Apache only. Then use your local computer's HOSTS file to point the domain to that IP. Switching back and forth is as easy as commenting out the IP line in your local computer's HOSTS file.
__________________
NSFW
robwod is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2014, 03:20 PM   #4
DirtyDanza
Confirmed User
 
DirtyDanza's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: BP4L.... Las Vegas,
Posts: 8,369
Quote:
Originally Posted by robwod View Post
Another easy, temporary, solution is to put the new site on your new server and assign the domain to an IP in Apache only. Then use your local computer's HOSTS file to point the domain to that IP. Switching back and forth is as easy as commenting out the IP line in your local computer's HOSTS file.
explain this sir... I'm on mac...

this is way above my pay grade I just design , build and implement all the nice programs and plugins that you geniuses make
__________________
AVN Nominated Camming Couple
DirtyDanza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2014, 03:20 PM   #5
georgeyw
58008 53773
 
georgeyw's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: Australia
Posts: 9,864
Just build their site on the new host (using the ip address) - when it is complete - redirect the domain to the new host.

I don't understand why you are over complicating it?
__________________
TripleXPrint on Megan Fox
"I would STILL suck her pussy until her face caved in. And then blow her up and do it again!"
georgeyw is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2014, 03:20 PM   #6
DirtyDanza
Confirmed User
 
DirtyDanza's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: BP4L.... Las Vegas,
Posts: 8,369
Quote:
Originally Posted by georgeyw View Post
Just build their site on the new host (using the ip address) - when it is complete - redirect the domain to the new host.

I don't understand why you are over complicating it?
this is what I wanted to do....
__________________
AVN Nominated Camming Couple
DirtyDanza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2014, 03:21 PM   #7
DamianJ
Too lazy to set a custom title
 
DamianJ's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: A magical land
Posts: 15,808
Quote:
Originally Posted by DirtyDanza View Post
explain this sir... I'm on mac...

this is way above my pay grade I just design , build and implement all the nice programs and plugins that you geniuses make
http://bit.ly/1pb8TFW
DamianJ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2014, 03:23 PM   #8
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,227
Quote:
Originally Posted by DirtyDanza View Post
how can I do this

I have a client with a live site wanting a new site... they want to keep old site live at host while new site is being built on new host...

this is from client

The existing website is hosted at 75.99.142.202. CNAME www and root of the domain point to that IP. The rest of the domain is at 65.254.248.204, including the WP. We can redirect www and the root domain to 65.254.248.204, but we need you to redirect any http traffic to 75.99.142.202. His current site uses ASP and we do not use it on our new server. Once the your site is complete, we can remove the redirect.


this is above my pay grade .... simple fixes?
Zoneedit is pretty easy stuff.
I use it to manage domains that are not hosted anywhere etc...
I think I've used it for about 10 years(lost count).
Seems very stable, never had a problem.

http://www.zoneedit.com/
__________________
Make Money with Porn
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2014, 03:27 PM   #9
robwod
Confirmed User
 
Industry Role:
Join Date: Nov 2005
Posts: 2,539
DD: you have a couple of options presented in the thread here (eta, I see others now too)

1. Just setup the new site on an IP from your new server and access it via the IP for preview and testing purposes. Assuming your internal links are relevant paths versus full http links, you should be able to preview it without issue.

2. Assign the new site to an IP on the new server. Follow the link DamianJ provided and add a new line to your HOSTS file with the IP and the domain you want to resolve on the IP, on the same line.

Your HOSTS file can override the IP's existing on which existing sites resolve. You could edit your HOSTS file and put GFY's IP in it and assign the IP to Yahoo.com. Then anytime you typed in gfy.com in your browser, you'd end up on Yahoo.com.

Once you are satisfied the new site is doing exactly as you want, edit the DNS for it at your registrar, and then the new site will replace the old one. (If you used the HOSTS file method, then you'll need to remove the hosts entry you added).
__________________
NSFW

Last edited by robwod; 04-16-2014 at 03:28 PM..
robwod is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2014, 03:38 PM   #10
DirtyDanza
Confirmed User
 
DirtyDanza's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: BP4L.... Las Vegas,
Posts: 8,369
personally I like the first option then I'm not fond of changing hosts file on here even tho I've done it before if I remember when I was installing nats years ago......

can I do wp at the ip level ?
__________________
AVN Nominated Camming Couple
DirtyDanza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2014, 03:39 PM   #11
DirtyDanza
Confirmed User
 
DirtyDanza's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: BP4L.... Las Vegas,
Posts: 8,369
thanks again guys for help and suggestions
__________________
AVN Nominated Camming Couple
DirtyDanza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2014, 03:44 PM   #12
robwod
Confirmed User
 
Industry Role:
Join Date: Nov 2005
Posts: 2,539
DD: you can do it at the WP-CONFIG level so long as you are using an IP or a subdomain (you can't put in the actual real domain since it resolves somewhere else, unless using the HOSTS file method, then certainly you could use the actual domain.) Simply follow the directions on the link below and put the new IP where the new site and install wordpress there.

http://codex.wordpress.org/Changing_The_Site_URL
__________________
NSFW

Last edited by robwod; 04-16-2014 at 03:46 PM..
robwod is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2014, 04:13 PM   #13
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,038
Just a note about that method - If you are using a WPMU install to use subdomains it could get tricky...

A vanilla install will be fine.....
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2014, 05:05 PM   #14
HomerSimpson
Too lazy to set a custom title
 
HomerSimpson's Avatar
 
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
you can buy some other extension (like .info or .net) and build the site there... Limit access per IP to prevent others for accessing the site while you work...
__________________
Make a bank with Chaturbate - the best selling webcam program
Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!!

PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email:
HomerSimpson is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2014, 06:07 PM   #15
iwantchixx
Too lazy to set a custom title
 
iwantchixx's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: The Boonies
Posts: 12,860
Keep it simple, keep domain.com where it is, and host dev/domain.com on other host.

Once ready to go live with new site, move domain.com to new location.
iwantchixx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2014, 06:11 PM   #16
phasic
Confirmed User
 
phasic's Avatar
 
Industry Role:
Join Date: Jul 2005
Location: US
Posts: 2,104
Did you make up your mind on how your doing this yet? If not shoot me an email david <at> phasicllc.com
__________________
Brief revisit. (mic drop)
phasic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2014, 07:37 PM   #17
DirtyDanza
Confirmed User
 
DirtyDanza's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: BP4L.... Las Vegas,
Posts: 8,369
I think we got it.. ill post back tomorrow the result of how we did it...

thanks again everyone
__________________
AVN Nominated Camming Couple
DirtyDanza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-16-2014, 11:29 PM   #18
Due
Confirmed User
 
Due's Avatar
 
Industry Role:
Join Date: Mar 2001
Location: Murrieta, CA
Posts: 3,620
Use Haproxy and just choose port 80 and 443 to be proxied to the old host
__________________
I buy plugs
Skype: Due_Global
/Due
Due is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.