GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   I need Technical advice regarding switching servers (https://gfy.com/showthread.php?t=827721)

BVF 05-11-2008 05:55 AM

I need Technical advice regarding switching servers
 
My host, Webair has switched my data to another server per my request and when it was finished, I got an email from them and part of it contained this:

Dear client,

your content has been transfer and is ready to be verified.
The contents and settings have all been transfered to your new dedicated server.

In order for us to verify that everything is working properly we need you to test your server config and websites.
After that we can change the DNS information and permanently launch your dedicated server.

What you need to to is to modify your hosts file and bind your domains to the following IP-addresses: xx.xxx.xx.2
xx.xx.xxx.3

here is a little example of what your hosts file can include:

xxx.x.x.1 localhost
xx.xx.xxx.xx2 www.blackvaginafinder.com
xx.xx.xxx.xx3 www.

you have to insert new entries in the following format:
IP www.domainame.com domainname.com

Enter the IP address of your new server into in the hosts file associating it with your domain, and you can fully test your web site before having the DNS changed.


They gave a good explanation of how to change the hosts file and stuff but I don't know how to do any of this shit.....I sent tech an email but I'm asking the question here too..

Can anybody simplify this shit for me?

Klen 05-11-2008 06:24 AM

You need to add that shit to hosts file in directory windows/system32/drivers/etc .
Use notepad to edit it.

BVF 05-11-2008 06:43 AM

Quote:

Originally Posted by KlenTelaris (Post 14175954)
You need to add that shit to hosts file in directory windows/system32/drivers/etc .
Use notepad to edit it.

yeah but where would I put that on my server and why would I need to do it in the first place? Can't somebody else do it for me? Hell, I'm technically incompetent.

u-Bob 05-11-2008 06:47 AM

Quote:

Originally Posted by BVF (Post 14175978)
yeah but where would I put that on my server and why would I need to do it in the first place? Can't somebody else do it for me? Hell, I'm technically incompetent.

you don't put it on your server, you put it on your own/local computer.

Wolfy 05-11-2008 06:59 AM

simplify: switch to oc3 managed and let them handle it :thumbsup

XSecurityAudit 05-11-2008 07:18 AM

Hi, hope this helps.

The guys at webair want you to add the entries to YOUR hosts file, and to do so:

MS Windows

* Browse to Start -> All Programs -> Accessories
* Right click "Notepad" and select "Run as administrator"
* Click "Continue" on the UAC prompt
* Click File -> Open
* Browse to "C:\Windows\System32\Drivers\etc"
* Change the file filter drop down box from "Text Documents (*.txt)" to "All Files (*.*)"
* Select "hosts" and click "Open"
* add the following lines:
your.servers.new.ip www.mydomain.com mydomain.com
* close Notepad. Save when prompted.

d-null 05-11-2008 07:33 AM

thanks xsecurity :thumbsup

Iron Fist 05-11-2008 07:59 AM

and don't forget to restart windows afterwards.

Klen 05-11-2008 08:09 AM

Quote:

Originally Posted by XSecurityAudit (Post 14176022)
Hi, hope this helps.

The guys at webair want you to add the entries to YOUR hosts file, and to do so:

MS Windows

* Browse to Start -> All Programs -> Accessories
* Right click "Notepad" and select "Run as administrator"
* Click "Continue" on the UAC prompt
* Click File -> Open
* Browse to "C:\Windows\System32\Drivers\etc"
* Change the file filter drop down box from "Text Documents (*.txt)" to "All Files (*.*)"
* Select "hosts" and click "Open"
* add the following lines:
your.servers.new.ip www.mydomain.com mydomain.com
* close Notepad. Save when prompted.

This was nice explanation :)

BVF 05-11-2008 08:22 AM

Quote:

Originally Posted by XSecurityAudit (Post 14176022)
Hi, hope this helps.

The guys at webair want you to add the entries to YOUR hosts file, and to do so:

MS Windows

* Browse to Start -> All Programs -> Accessories
* Right click "Notepad" and select "Run as administrator"
* Click "Continue" on the UAC prompt
* Click File -> Open
* Browse to "C:\Windows\System32\Drivers\etc"
* Change the file filter drop down box from "Text Documents (*.txt)" to "All Files (*.*)"
* Select "hosts" and click "Open"
* add the following lines:
your.servers.new.ip www.mydomain.com mydomain.com
* close Notepad. Save when prompted.

damn that's a good explanation....too bad it prompts me for a password once i try to run it as an administrator and since I never set one, it doesn't work.....

I still don't see why I need to change MY hosts file if i'm switching servers somewhere else.

poto 05-11-2008 08:25 AM

ok, let me try...

the reason you need to edit your hosts file with the info they gave you is so that instead of your computer connecting to your site on the old server, your computer will connect to the new server and you can test your site on the new server just by typing it in your browser...

if everything works, then you change the DNS and the move is done... if you get any errors while testing your site on the new server, you would need to notify your tech support so they can fix it...

you should add an entry like this to your hosts file:

Quote:

xx.xx.xxx.xxx blackvaginafinder.com
xx.xx.xxx.xxx www.blackvaginafinder.com
with xx.xx.xxx.xxx being the IP to the new server the host gave you... and remember to put a Tab between the IP and the url, not spaces...

btw, Show IP might help...

and if you're still confused about how to edit your hosts file watch this video

BVF 05-11-2008 08:27 AM

Quote:

Originally Posted by poto (Post 14176116)
ok, let me try...

the reason you need to edit your hosts file with the info they gave you is so that instead of your computer connecting to your site on the old server, your computer will connect to the new server and you can test your site on the new server just by typing it in your browser...

if everything works, then you change the DNS and the move is done... if you get any errors while testing your site on the new server, you would need to notify your tech support so they can fix it...

you should add an entry like this to your hosts file:



with xx.xx.xxx.xxx being the IP to the new server the host gave you... and remember to put a Tab between the IP and the url, not spaces...

btw, Show IP might help...

and if you're still confused about how to edit your hosts file watch this video

Thanks....But couldn't I just type in the ip address (which I did) and test to see if it works? and if so, just tell them to switch the DNS?....

And then of course connect to the new ip through ftp?

poto 05-11-2008 08:56 AM

Quote:

Originally Posted by BVF (Post 14176119)
Thanks....But couldn't I just type in the ip address (which I did) and test to see if it works? and if so, just tell them to switch the DNS?....

And then of course connect to the new ip through ftp?

if you think everything works, scripts, logins, etc. you can always switch it over...

but, lemme ask you... do you really want to wake up tomorrow and find out something important like a join page or members area login doesn't work because you didn't take 30 seconds to edit your hosts file and check everything?

with less than the time spent on this thread... you could have already done it several times over...

baddog 05-11-2008 10:06 AM

Quote:

Originally Posted by BVF (Post 14176119)
Thanks....But couldn't I just type in the ip address (which I did) and test to see if it works? and if so, just tell them to switch the DNS?....

That is what I would have told you to do.

mikeyddddd 05-11-2008 10:29 AM

Quote:

Originally Posted by BVF (Post 14176119)
Thanks....But couldn't I just type in the ip address (which I did) and test to see if it works? and if so, just tell them to switch the DNS?....

And then of course connect to the new ip through ftp?

Quote:

Originally Posted by baddog (Post 14176281)
That is what I would have told you to do.

What if there are multiple domains on the server?

Wouldn't that require the use of the instructions provided?

I guess it would depend on the setup.

baddog 05-11-2008 10:31 AM

Quote:

Originally Posted by mikeyddddd (Post 14176308)
What if there are multiple domains on the server?

Wouldn't that require the use of the instructions provided?

I guess it would depend on the setup.

You mean, multiple domains on the IP? Should be able to do IP~domain

u-Bob 05-11-2008 10:40 AM

Quote:

Originally Posted by baddog (Post 14176281)
That is what I would have told you to do.

and what if he's hosting multiple domains on that box? :winkwink:

BVF 05-11-2008 11:05 AM

Quote:

Originally Posted by u-Bob (Post 14176326)
and what if he's hosting multiple domains on that box? :winkwink:

I'm only hosting two of them and one of them isn't mission critical....so I think I'll just take the low tech approach.

AlienQ - BANNED FOR LIFE 05-11-2008 12:23 PM

OMG...

Please are you being serious?

webair 05-11-2008 01:08 PM

BVF i'll have a tech help contact you now...

The Dawg 05-12-2008 03:32 PM

Yo BVF, whats your email address? I see the yahoo one isnt working.


All times are GMT -7. The time now is 06:45 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123