Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old July 22nd, 2004, 10:14 PM
cscartman cscartman is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 307 cscartman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Sub-domain Catch-All, with apache

How would i go about making apache catch all subdomains? This is for a new shorturl website, im making. But the problem with this is how do i make a catch all sub-domains part?

Anyhelp is great, i do have access to the root.

Reply With Quote
  #2  
Old July 23rd, 2004, 01:12 AM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Sub-domain Catch-All, with apache

first you need to point all subdomains to the same ip (that is done with DNS), and only after that to setup apache..

for the second part, look up URL-rewriting in the apache docs..


Reply With Quote
  #3  
Old July 24th, 2004, 04:10 AM
cscartman cscartman is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 307 cscartman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Sub-domain Catch-All, with apache

how do i edit bind? This is all i need to know now... I have cpanel WHS for a root, also sftp root acess. Can you tell me this?

Reply With Quote
  #4  
Old July 24th, 2004, 05:23 AM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Sub-domain Catch-All, with apache

no, sorry, i don't know this DNS/bind stuff..



Reply With Quote
  #5  
Old July 25th, 2004, 11:02 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: Sub-domain Catch-All, with apache

First you need a wildcard "catchall" in the DNS, like this

*.yourdomain.com. IN A 111.111.111.111

Then in your Apache virtual hosts directive add a wildcard alias like this

ServerAlias *.yourdomain.com

For a DNS quick tutorial check out
http://codewalkers.com/tutorials/24/1.html

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > Sub-domain Catch-All, with apache


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT