LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-06-2005, 07:40 AM   #1
alc@pone
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Rep: Reputation: 0
how-to set up two diferent domains?


good afternoon, can someone please tell me if i can get "3w.xxx.eu" and "3w.yyy.pt" to live in the same server?
what i am trying to do is to have a web server were "3w.org.eu", goes to the school page and "3w.project.pt" to the a special project page.
i am planning on using slackware + apache + Mambo.

thanks!
 
Old 12-06-2005, 08:03 AM   #2
nephish
Member
 
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456

Rep: Reputation: 30
sure, you set up virtual hosting in the apache config file (usually http.conf)
most distros have an example commented out close to the bottom of the config file.
You would typically have seperate folders for each site you desire to host.
i am hosting 3 .coms and 2 .orgs for friends from my house.
If you have problems, let us know
 
Old 12-06-2005, 10:28 AM   #3
alc@pone
LQ Newbie
 
Registered: Nov 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for answering.
I will look in to it right now.
Do you have any special advices on security for this kind of setup?
 
Old 12-06-2005, 10:33 AM   #4
nephish
Member
 
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456

Rep: Reputation: 30
not that i can think of off hand, i believe the way apache handles things under name based virtual hosting, is that it sees which domain is being requested and points to that folder (defined in http.conf) so i wouldn't think any more security would be required than what precautions would normally be taken for a web server.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache on fedora core 3, how to configure diferent domains & security fatum112 Linux - Software 1 11-22-2005 05:02 PM
how to set sendmail to use a diferent port matt_w_lambert Linux - Software 2 11-22-2005 09:38 AM
Talk to an object in a diferent class bastl Programming 9 03-17-2005 01:36 PM
Samba Server in two diferent netmask? owar Linux - Networking 3 08-26-2004 08:21 PM
diferent speed nics lord_zoo Linux - Networking 4 09-15-2003 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration