Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th May 2007, 00:35
edison edison is offline
Junior Member
 
Join Date: May 2007
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default how to reach my base site to test before domain resolution ?

Hello, I would like to test my sites before redirecting the domain names.
I arrive to reach the www folder of the users with an address of the www.domain.tld/~user1 type.
But is it possible to join the "base" site in the same way?

I speak about the "www" which is on the same level as users folder.
I tested /home/webxx… but…
Reply With Quote
Sponsored Links
  #2  
Old 28th May 2007, 03:17
volksman volksman is offline
Senior Member
 
Join Date: May 2007
Posts: 124
Thanks: 2
Thanked 16 Times in 14 Posts
Default

use the hosts file on your PC to map the domain temporarily. Linux: vi /etc/hosts Windows: edit C:\windows\system32\drivers\etc (from memory..could be wrong..been a while and I don't use windows).

syntax is very simple:

IP Host

so as a demo say your server is 192.168.0.101 then

192.168.0.101 www.domain.tld

Save and Exit...You can set as many domains as you want this way and only YOU will see them that way....Just don't forget to remove them when you go live cause you could go nutts later trying to make changes and your hosts file is overriding them on your machine...

again this is done from the machine you want to view the sites from...not the server itself...
Reply With Quote
The Following User Says Thank You to volksman For This Useful Post:
edison (28th May 2007)
  #3  
Old 28th May 2007, 09:34
edison edison is offline
Junior Member
 
Join Date: May 2007
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

thank you,

I understood well, I had done that also with easyPHP and Windows for my sites (local).

in host file (without dot nor extension).
C:\Windows\System32\Drivers\etc

thanks,
Reply With Quote
Reply

Bookmarks

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail problems when more than one site exists for a single domain james@thereidsonline.com Installation/Configuration 1 5th January 2007 11:59
SSL related problems senzapaura Installation/Configuration 45 25th March 2006 15:15
host site at same domain as ISPConfig server? amoswright Installation/Configuration 2 13th January 2006 23:43
how to test a site on local network fuchsbox Installation/Configuration 4 17th December 2005 09:34
Test site?? timbo Installation/Configuration 5 20th November 2005 15:54


All times are GMT +2. The time now is 07:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.