vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   moving site, test on new ip first... how? (https://vborg.vbsupport.ru/showthread.php?t=92436)

wolfyman 07-18-2005 02:59 PM

moving site, test on new ip first... how?
 
I have moved all my files and databases, my new database uses the same info as the old - so everything should be smooth. I want to test it though.

When I type in http://new.ip/forum, it redirects me to http://url/forum. How do I solve this?

come on fellas, show me some love here :D

jsharper 07-20-2005 04:58 AM

try putting an entry in the hosts file (/etc/hosts or c:\windows\system32\drivers\etc\hosts for unix or windows respectively) on your workstation that points "url" to "new.ip".. then you (and only you) can browse the new site with the "correct" url..

wolfyman 07-20-2005 11:35 AM

didn't work, thanks for the try. Anybody else?

jugo 07-20-2005 11:51 AM

In the new setup fo in and change your home url and anything that pertains to the new location to the IP. That should work.

RichieBoy67 07-20-2005 12:39 PM

You have tranfered the database and everything is exactly the same as on your old server????

strange... don't know why you are having a problem...

wolfyman 07-20-2005 12:45 PM

I was checking around (global.php, config.php...) and I can't find anything other than mysql databases, nothing pertaining to url - can anybody help me find that stuff? Which files will it be in?

Quote:

Originally Posted by RichieBoy67
You have tranfered the database and everything is exactly the same as on your old server????



strange... don't know why you are having a problem...

the only problem I'm having is something keeps redirecting me to the url rather than just going to the ip.

RichieBoy67 07-20-2005 12:57 PM

Do you have VBA and are you sure all the paths are exactly the same on this new server?????

wolfyman 07-20-2005 01:51 PM

What's VBA?

And yep, absolutely positive - I set up the site myself, mysql and folder paths are perfect.

If you mean VB advanced, the answer is no.

jsharper 07-20-2005 02:54 PM

Quote:

Originally Posted by wolfyman
didn't work, thanks for the try. Anybody else?

What part didn't work? It will still redirect you to the domain name, but the point of the hosts file change is that when your machine points at the domain name, you'll get the new server instead of the old one.

Note that in WinXP, after you change the hosts file, you'll probably need to restart the dns client cache service (it's called "DNS Client" in the Services GUI, or go to a cmd prompt and run "net stop dnscache" followed by "net start dnscache") and then also close and restart your browser as most browsers also implement a short-term dns resolution cache in memory. ... or reboot the whole box if you don't want to mess with all that :)

Quote:

Originally Posted by wolfyman
I was checking around (global.php, config.php...) and I can't find anything other than mysql databases, nothing pertaining to url - can anybody help me find that stuff? Which files will it be in?

The URL isn't in any file. (It is stored in the database) To change it, go into the Admin CP, vBulletin Options, "Site Name/URL/Contact Details", and find it under "Forum URL"

wolfyman 07-20-2005 03:28 PM

Quote:

Originally Posted by jsharper
What part didn't work? It will still redirect you to the domain name, but the point of the hosts file change is that when your machine points at the domain name, you'll get the new server instead of the old one.

Note that in WinXP, after you change the hosts file, you'll probably need to restart the dns client cache service (it's called "DNS Client" in the Services GUI, or go to a cmd prompt and run "net stop dnscache" followed by "net start dnscache") and then also close and restart your browser as most browsers also implement a short-term dns resolution cache in memory. ... or reboot the whole box if you don't want to mess with all that :)



The URL isn't in any file. (It is stored in the database) To change it, go into the Admin CP, vBulletin Options, "Site Name/URL/Contact Details", and find it under "Forum URL"


ok, I tried the net start dnscache thing, it was successful but something on my new server is still trying to redirect me to the url instead of the ip.

I can't login to the forum on the new server, so I can't change the settings to point to the ip instead of the domain. If I change the settings in the running forum, on the old server, to reflect the new ip, and it blocks me for some reason - how will I change it back?

I can access myphp on the new server (the ip server) so is there a way I can edit the settings in there?


All times are GMT. The time now is 08:53 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00997 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete