Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 How to safely test more websites on A2T localhost ?
Google
Post new topic Reply to topic
Author Message
jani
 
 


Joined: 11 Mar 2004
Posts: 8

PostPosted: Thu Jul 28, 2005 1:54 am Reply with quoteBack to top

Question
I would like to get some input on how to safely test more websites on my A2T localhost server. Of course, for each website I expect to have its own folder under "C:\apache2triad\htdocs\" (except the main website - its files go directly under "C:\apache2triad\htdocs").
What configuration steps are to be taken to have it running properly? For example, the files of "allmortgages.net" website will be placed under "Allmortgages" folder. The default address would be "http://localhost/allmortgages". How to make sure that all the emails + mysql database will work fine? What to avoid not to have any "paths" problems when moving my files onto the real server?

Thanks for your time.
View user's profileSend private message
Joshua Meadows (DemoRic)
support
support


Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

PostPosted: Fri Aug 19, 2005 3:20 pm Reply with quoteBack to top

My suggestion is to use virtual hosts so that every site is treated like it's in the root directory. See http://apache2triad.net/forums/viewtopic.php?t=21 for setting up virtual hosts. And if your using it as a test environment you may modify your hosts file in your \WINDOWS\system32\drivers\etc\ folder to have it connect to your local pc using the name you want to give your site.

EG.

Quote:
127.0.0.1 allmortgages.net
View user's profileSend private messageYahoo MessengerICQ Number
jani
 
 


Joined: 11 Mar 2004
Posts: 8

PostPosted: Fri Aug 19, 2005 10:23 pm Reply with quoteBack to top

Demoric, thank you very much - I am gonna have a look at that. Very Happy
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT