Fedora Linux Support Community & Resources Center
  #1  
Old 26th October 2007, 03:31 PM
IFahad Offline
Registered User
 
Join Date: Oct 2007
Posts: 2
subdomain with www

Hi,

I got domain say
fahad.com under this domain i got subdomain mydomain.fahad.com. If user enter
mydomain.fahad.com then it works fine but I want if the user enter www.mydomain.fahad.com then it should go to mydomain.fahad.com rather then displaying PAGE CAN NOT BE FOUND......

Please let me know if ther any way around.
Thanks
Reply With Quote
  #2  
Old 26th October 2007, 04:03 PM
rbo83 Offline
Registered User
 
Join Date: Apr 2006
Location: Toronto
Posts: 100
Which application ?

Are you trying to do this on your router, your DNS server or your Web server ? Let us know what software and versions you are running.
Reply With Quote
  #3  
Old 26th October 2007, 04:07 PM
IFahad Offline
Registered User
 
Join Date: Oct 2007
Posts: 2
I am trying to do it on my webserver. My webserver is Fedora and using Apache webserver.
Thanks
Reply With Quote
  #4  
Old 26th October 2007, 04:34 PM
brunson Offline
Registered User
 
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,306
You need to make a ServerAlias in your apache config:
Code:
<VirtualHost *:80>
  ServerAdmin webmaster@brunson.com
  DocumentRoot /home/brunson/www/htdocs
  ServerAlias www.brunson.com
  ServerAlias brunson.com
  ServerAlias ipgeeks.net
  ServerAlias www.ipgeeks.net

  ...

</VirtualHost>
__________________
Registered Linux User #4837
411th in line to get sued by Micro$oft
Quote:
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy
Reply With Quote
Reply

Tags
subdomain, www

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Subdomain configuration pukihead Servers & Networking 4 11th August 2008 04:28 AM
subdomain creation help blckspder Servers & Networking 2 3rd November 2007 01:02 AM
Domain Name and Subdomain Name help trissmo Servers & Networking 3 28th February 2006 10:21 AM
How-To Subdomain root Using Fedora 0 30th October 2005 02:02 AM


Current GMT-time: 22:54 (Tuesday, 29-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat