LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-15-2008, 05:39 AM   #1
macadam
Member
 
Registered: Sep 2003
Posts: 72

Rep: Reputation: 15
redirect user.domain.com to www.domain.com/user


Hello,

The users on my server access their space via www.domain.com/username.
However, I would prefer they have access through username.domaine.com directly.

Is there a way to do that without adding a lot of subdomains to the bind domain configuration?

Best regards,

macadam
 
Old 05-15-2008, 01:03 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,399

Rep: Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529Reputation: 2529
Set up virtual hosts in your apache config. Check out the apache docs for more information.
 
Old 05-15-2008, 01:07 PM   #3
macadam
Member
 
Registered: Sep 2003
Posts: 72

Original Poster
Rep: Reputation: 15
Hi,

thanks for your answer...I know how it works.
The question is, it there a more effective way than to create all DNS entries and all virtualhosts???
Imagine doing that for 1000 users...better stay with the http://www.mydomain.com/username that to do something else!


Regards,

macadam
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
DNS http:domain.com resolve to www.domain.com keysorsoze Linux - Networking 3 02-12-2007 03:03 AM
Redirecting domain.com to www.domain.com rustyz82 Linux - General 3 05-18-2006 03:41 AM
Joined Domain, can't login as domain user mikeyt_333 Linux - Networking 12 08-26-2005 08:25 AM
Cant get entry in bind to work with domain.com instead of www.domain.com pxes351 Linux - Networking 12 05-09-2005 06:20 AM
Change user@host.domain to user@domain Wynand1 Linux - Networking 7 09-13-2004 11:56 PM


All times are GMT -5. The time now is 10:12 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration