SIMPLE QUESTION

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
khunchris
-


Joined: 07 May 2005
Posts: 1

PostPosted: Sat May 07, 2005 10:24 am    Post subject: SIMPLE QUESTION Reply with quote

I am a new user and have set up my website and everything is working really well.

Now I want to add a second website......How do I do this.

Do I create a seperate directory to htdocs add then add the additional home page....If I do this where do I add the path, and information to route requests from that domain name to the new directory?

Or do I do this a different way ?

Any pointers would be gratefully received.

thank you for your help
Chris
Back to top View user's profile Send private message Visit poster's website
Tim1681
-


Joined: 17 Jan 2005
Posts: 160
Location: Bristol, CT, USA

PostPosted: Sat May 07, 2005 10:31 am    Post subject: Reply with quote

The way my server is set up is i have the main directory (in your case htdocs) empty except for an Index file which forwards them to a certain website if they try to log into my server with out a directory selected in the URL.

But for your question i would just move your website thats in your htdocs folder to another directory. So you would make a new folder in HTDOCS and call it Website1 lets say, then make another folder called Website2. Now When you would want to goto a certain site on ur server you would do:
http://xx.xx.xx.xx/Website1 -or- http://xx.xx.xx.xx/Website2
Back to top View user's profile Send private message AIM Address
jedimaster
-


Joined: 03 May 2005
Posts: 23

PostPosted: Sat May 07, 2005 12:59 pm    Post subject: Reply with quote

good point , but there is another way. via a script(perl or php)
Back to top View user's profile Send private message
Tim1681
-


Joined: 17 Jan 2005
Posts: 160
Location: Bristol, CT, USA

PostPosted: Sat May 07, 2005 1:05 pm    Post subject: Reply with quote

Yea I forgot to mention it's a PHP Index file. I made it so if you do something like ?c=Website1 it will forward you to that site, and if you put nothing in the URL it will send you to the 'default' site. I like it since its like the first PHP script I made that actually does something useful.
Back to top View user's profile Send private message AIM Address
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sat May 07, 2005 2:03 pm    Post subject: Reply with quote

I created a project website for Virtual Hosting on Abyss X1 but if you want true
Virtual Hosting than you will need to buy the Professional version. Check it out!

Virtual Host Creator: (PHP|Perl|Python)
http://vhc.trustabyss.com
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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


Powered by phpBB phpBB Group