Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 07-18-2005, 02:59 PM
wolfyman's Avatar
wolfyman wolfyman is offline
 
Join Date: Apr 2005
Posts: 719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 07-20-2005, 04:58 AM
jsharper jsharper is offline
 
Join Date: Jun 2005
Location: Gilbert, AZ, US
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #3  
Old 07-20-2005, 11:35 AM
wolfyman's Avatar
wolfyman wolfyman is offline
 
Join Date: Apr 2005
Posts: 719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

didn't work, thanks for the try. Anybody else?
Reply With Quote
  #4  
Old 07-20-2005, 11:51 AM
jugo jugo is offline
 
Join Date: Feb 2004
Location: Reading your emails.
Posts: 573
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 07-20-2005, 12:39 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #6  
Old 07-20-2005, 12:45 PM
wolfyman's Avatar
wolfyman wolfyman is offline
 
Join Date: Apr 2005
Posts: 719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 07-20-2005, 12:57 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have VBA and are you sure all the paths are exactly the same on this new server?????
Reply With Quote
  #8  
Old 07-20-2005, 01:51 PM
wolfyman's Avatar
wolfyman wolfyman is offline
 
Join Date: Apr 2005
Posts: 719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 07-20-2005, 02:54 PM
jsharper jsharper is offline
 
Join Date: Jun 2005
Location: Gilbert, AZ, US
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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"
Reply With Quote
  #10  
Old 07-20-2005, 03:28 PM
wolfyman's Avatar
wolfyman wolfyman is offline
 
Join Date: Apr 2005
Posts: 719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply

Thread Tools
Display Modes

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. The time now is 04:42 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06417 seconds
  • Memory Usage 2,249KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete