LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Domain preview

Reply
 
Thread Tools Display Modes
  #1  
Old 06-09-2007, 08:19 AM
PSS PSS is offline
Senior Member
 
Join Date: Jun 2007
Posts: 126
Default Domain preview

Does Litespeed have a "domain preview" feature (browsing virtual host before DNS has propagated)?
Reply With Quote
  #2  
Old 06-09-2007, 09:41 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Don't know exactly what does "domain preview" mean, I think you can just fake the DNS by adding the doamin and IP to the "hosts.conf" file in a linux box, or something like "lmhosts" on windows.
Reply With Quote
  #3  
Old 06-09-2007, 09:57 AM
PSS PSS is offline
Senior Member
 
Join Date: Jun 2007
Posts: 126
Domain preview means that you can browse to unresolved domain www with e.g. http://123.123.123.123/~domainname
Reply With Quote
  #4  
Old 06-09-2007, 10:00 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
That's apache's mod_userdir feature. yes, it work when LiteSpeed is using Apache httpd.conf directly.
Reply With Quote
  #5  
Old 06-09-2007, 11:06 AM
PSS PSS is offline
Senior Member
 
Join Date: Jun 2007
Posts: 126
I found a simple way to do it, set port 80 listener's virtual host mapping to

virtual host: newdomain.com
domains: 123.123.123.123,newdomain.com

Now I can check the site out with IP. This is good enough for my purposes.
Reply With Quote
  #6  
Old 06-09-2007, 11:23 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Yes, it is a better way to me.
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 -7. The time now is 06:58 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.