You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Doug Lipman <do...@storydynamics.com> on 2003/11/30 00:49:06 UTC

[users@httpd] How to preview virtual domains from IP number?

I have tried to search Google, the documentaion and the mailing list 
archives for a method to do what I want. Unfortunately, I appear to 
be too much of a newbie to know the right terms to search for. Would 
someone please at least point me in the right direction?

I'm using Apache on a Linux webserver, with several name-based virtual domains.

I'm moving a series of domains from my old server to my new Apache 
server. Having loaded all the files to the new server, I want to 
check the files in a web browser BEFORE I change the DNS servers, to 
be sure everything's working.

How do I do this? When I type my IP number into a browser, it shows 
the first virtual domain on my list. Is there a way I can somehow 
bring up another domain, at least temporarily?

Thanks!

Doug
-- 

***********************************************************************
Doug Lipman, P.O. Box 441195, West Somerville, MA 02144
Phone: (781) 391-3672. Fax: (781) 391-6341. Toll-free: (888) 446-4738
Story Dynamics: workshops, performances, coaching

Web page: http://storydynamics.com
         Free monthly email newsletter, "eTips from the Storytelling Coach."
         "A wonderful, chock full of provocative ideas, storytelling 
newsletter. I like it a lot!" - Loretta Greene (Tempe, AZ)

Upcoming workshops: http://storydynamics.com/Services/upcoming.html
The Soul of Hope: http://SoulOfHope.net
The Hasidic Stories Home Page: http://www.HasidicStories.com

***********************************************************************

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] How to preview virtual domains from IP number?

Posted by Norman Peelman <np...@cfl.rr.com>.
----- Original Message ----- 
From: "Doug Lipman" <do...@storydynamics.com>
To: <us...@httpd.apache.org>
Sent: Saturday, November 29, 2003 6:49 PM
Subject: [users@httpd] How to preview virtual domains from IP number?


> I have tried to search Google, the documentaion and the mailing list
> archives for a method to do what I want. Unfortunately, I appear to
> be too much of a newbie to know the right terms to search for. Would
> someone please at least point me in the right direction?
>
> I'm using Apache on a Linux webserver, with several name-based virtual
domains.
>
> I'm moving a series of domains from my old server to my new Apache
> server. Having loaded all the files to the new server, I want to
> check the files in a web browser BEFORE I change the DNS servers, to
> be sure everything's working.
>
> How do I do this? When I type my IP number into a browser, it shows
> the first virtual domain on my list. Is there a way I can somehow
> bring up another domain, at least temporarily?
>
> Thanks!
>
> Doug
> -- 

Doug,

   It could be a bit of a pain in the butt this way but... you could:

1) load up your httpd.conf file in an editor
2) enable only one virtual domain at a time by commenting out the others
3) restart apache - each time

Norm


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] How to preview virtual domains from IP number?

Posted by Enrico Pelaggio <en...@sxnetworks.com>.
I'm sorry, in my last post I said hosts.sam, the name of the file you should
modify is hosts, I don't know where's it, usually it's on
c:\windows\system32\ or c:\winnt\system32 .

Sorry !!
Good luck.

----- Original Message -----
From: "Enrico Pelaggio" <en...@sxnetworks.com>
To: <us...@httpd.apache.org>; "Doug Lipman" <do...@storydynamics.com>
Sent: Saturday, November 29, 2003 9:50 PM
Subject: Re: [users@httpd] How to preview virtual domains from IP number?


> I think Dale's answer it's ok but the best way to try your sites is
> modifying your /etc/hosts in linux or changing you'r hosts.sam in windows.
> In those files you can specify a line like this :
>
> new server ip         domain name
> --------------------------------------
> 233.222.222.22    www.yoursite.com
>
> One line for each site.
> I hope to be useful.
> Good luck.
>
> ----- Original Message -----
> From: "CN Stuff" <st...@colony.net>
> To: "Doug Lipman" <do...@storydynamics.com>; <us...@httpd.apache.org>
> Sent: Saturday, November 29, 2003 9:35 PM
> Subject: Re: [users@httpd] How to preview virtual domains from IP number?
>
>
> > Doug,
> >
> > If you are using name-based domains, the only way I could think of
> > doing this is to setup a temp DNS server with the new information, then
> > have your testing machine (the one you are running the web browser on)
> > point to that DNS server.
> >
> > someone else may have a better solution, but this is all I can think of.
> >
> > good luck
> >
> > Dale
> >
> >
> > On Nov 29, 2003, at 5:49 PM, Doug Lipman wrote:
> >
> > > I have tried to search Google, the documentaion and the mailing list
> > > archives for a method to do what I want. Unfortunately, I appear to be
> > > too much of a newbie to know the right terms to search for. Would
> > > someone please at least point me in the right direction?
> > >
> > > I'm using Apache on a Linux webserver, with several name-based virtual
> > > domains.
> > >
> > > I'm moving a series of domains from my old server to my new Apache
> > > server. Having loaded all the files to the new server, I want to check
> > > the files in a web browser BEFORE I change the DNS servers, to be sure
> > > everything's working.
> > >
> > > How do I do this? When I type my IP number into a browser, it shows
> > > the first virtual domain on my list. Is there a way I can somehow
> > > bring up another domain, at least temporarily?
> > >
> > > Thanks!
> > >
> > > Doug
> > > --
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] How to preview virtual domains from IP number?

Posted by Enrico Pelaggio <en...@sxnetworks.com>.
I think Dale's answer it's ok but the best way to try your sites is
modifying your /etc/hosts in linux or changing you'r hosts.sam in windows.
In those files you can specify a line like this :

new server ip         domain name
--------------------------------------
233.222.222.22    www.yoursite.com

One line for each site.
I hope to be useful.
Good luck.

----- Original Message -----
From: "CN Stuff" <st...@colony.net>
To: "Doug Lipman" <do...@storydynamics.com>; <us...@httpd.apache.org>
Sent: Saturday, November 29, 2003 9:35 PM
Subject: Re: [users@httpd] How to preview virtual domains from IP number?


> Doug,
>
> If you are using name-based domains, the only way I could think of
> doing this is to setup a temp DNS server with the new information, then
> have your testing machine (the one you are running the web browser on)
> point to that DNS server.
>
> someone else may have a better solution, but this is all I can think of.
>
> good luck
>
> Dale
>
>
> On Nov 29, 2003, at 5:49 PM, Doug Lipman wrote:
>
> > I have tried to search Google, the documentaion and the mailing list
> > archives for a method to do what I want. Unfortunately, I appear to be
> > too much of a newbie to know the right terms to search for. Would
> > someone please at least point me in the right direction?
> >
> > I'm using Apache on a Linux webserver, with several name-based virtual
> > domains.
> >
> > I'm moving a series of domains from my old server to my new Apache
> > server. Having loaded all the files to the new server, I want to check
> > the files in a web browser BEFORE I change the DNS servers, to be sure
> > everything's working.
> >
> > How do I do this? When I type my IP number into a browser, it shows
> > the first virtual domain on my list. Is there a way I can somehow
> > bring up another domain, at least temporarily?
> >
> > Thanks!
> >
> > Doug
> > --
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] How to preview virtual domains from IP number?

Posted by CN Stuff <st...@colony.net>.
Doug,

If you are using name-based domains, the only way I could think of 
doing this is to setup a temp DNS server with the new information, then 
have your testing machine (the one you are running the web browser on) 
point to that DNS server.

someone else may have a better solution, but this is all I can think of.

good luck

Dale


On Nov 29, 2003, at 5:49 PM, Doug Lipman wrote:

> I have tried to search Google, the documentaion and the mailing list 
> archives for a method to do what I want. Unfortunately, I appear to be 
> too much of a newbie to know the right terms to search for. Would 
> someone please at least point me in the right direction?
>
> I'm using Apache on a Linux webserver, with several name-based virtual 
> domains.
>
> I'm moving a series of domains from my old server to my new Apache 
> server. Having loaded all the files to the new server, I want to check 
> the files in a web browser BEFORE I change the DNS servers, to be sure 
> everything's working.
>
> How do I do this? When I type my IP number into a browser, it shows 
> the first virtual domain on my list. Is there a way I can somehow 
> bring up another domain, at least temporarily?
>
> Thanks!
>
> Doug
> -- 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] How to preview virtual domains from IP number?

Posted by Gordon Low <gl...@bigpond.net.au>.
I am no expert with Apache but the way I interpret your question,
problem is that IP address always sees the first name and you want to
copy  subsequent sites and test them before you set all the httpd.conf
file.

Suggestion is to make a directory in the main nameserver like
your.domain.com/one and put a simple html file which will redirect to
the proper directory in the tree say "../newdomain/html/". Test all the
new files which will of course have to be relatively linked within the
tree, once you are sure it is ok the next entry in httpd.conf will be
for your new name based virtual domain. This way you are separating
testing of the web site as opposed to testing the routing to the web
site.





On Sun, 2003-11-30 at 10:49, Doug Lipman wrote:
> I have tried to search Google, the documentaion and the mailing list 
> archives for a method to do what I want. Unfortunately, I appear to 
> be too much of a newbie to know the right terms to search for. Would 
> someone please at least point me in the right direction?
> 
> I'm using Apache on a Linux webserver, with several name-based virtual domains.
> 
> I'm moving a series of domains from my old server to my new Apache 
> server. Having loaded all the files to the new server, I want to 
> check the files in a web browser BEFORE I change the DNS servers, to 
> be sure everything's working.
> 
> How do I do this? When I type my IP number into a browser, it shows 
> the first virtual domain on my list. Is there a way I can somehow 
> bring up another domain, at least temporarily?
> 
> Thanks!
> 
> Doug
> -- 
> 
> ***********************************************************************
> Doug Lipman, P.O. Box 441195, West Somerville, MA 02144
> Phone: (781) 391-3672. Fax: (781) 391-6341. Toll-free: (888) 446-4738
> Story Dynamics: workshops, performances, coaching
> 
> Web page: http://storydynamics.com
>          Free monthly email newsletter, "eTips from the Storytelling Coach."
>          "A wonderful, chock full of provocative ideas, storytelling 
> newsletter. I like it a lot!" - Loretta Greene (Tempe, AZ)
> 
> Upcoming workshops: http://storydynamics.com/Services/upcoming.html
> The Soul of Hope: http://SoulOfHope.net
> The Hasidic Stories Home Page: http://www.HasidicStories.com
> 
> ***********************************************************************
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org