How to test virtual host before dns propagation

This is a discussion on How to test virtual host before dns propagation within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi, I think this must be a standard question & have searched groups but could not find a similar one. ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-16-2004
Puerto Pollensa Travel Guide
 
Posts: n/a
Default How to test virtual host before dns propagation

Hi,

I think this must be a standard question & have searched groups but
could not find a similar one.

I have a VPS (Virtual Private Server), FreeBSD, Apache with faciities
& wizards etc. to set up virtual hosts. All works fine once the DNS
servers have propagated & I've set up a few mini-sites.

However I have a major site using PHP/mySql etc. that I want to move
from Shared Hosting but with my own IP to a Virtual Host on my VPS (&
only one IP).

1) I want to copy the site to a Virtual Host on the VPS & test it
before requesting the DNS change but I cannot see how to access a
Virtual Host via a browser when I have only 1 IP address.

2) Similarly when I do move it, I don't want 2 versions of my site
accessible as there is an updateable mySql server. When I had a
previous move from one shared Hosting to another, the ISP tech support
did some sort of redirect to force all visitors to go the new site
straightaway but I assume this was using the IP address. Now I have
VPS I have to do all myself. How do I do this please?,

Thank you.
 


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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:07 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0