![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
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/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Industry Role:
Join Date: Aug 2002
Location: BP4L.... Las Vegas,
Posts: 8,369
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
58008 53773
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!" |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Aug 2002
Location: BP4L.... Las Vegas,
Posts: 8,369
|
this is what I wanted to do....
__________________
AVN Nominated Camming Couple |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2006
Location: A magical land
Posts: 15,808
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,227
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Industry Role:
Join Date: Aug 2002
Location: BP4L.... Las Vegas,
Posts: 8,369
|
thanks again guys for help and suggestions
__________________
AVN Nominated Camming Couple |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Just Doing My Own Thing
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..... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Too lazy to set a custom title
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: ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Too lazy to set a custom title
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Confirmed User
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) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |