hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : CNAME question
Reply

Web Hosting Discussions on all aspects of web hosting including past experiences (both negative and positive), choosing a host, questions and answers, and other related subjects. If your service is unavailable, please click here.
Forum Jump

CNAME question

Reply Post New Thread In Web Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-09-2006, 09:56 PM
bumfilter bumfilter is offline
Junior Guru Wannabe
 
Join Date: Nov 2004
Posts: 53

CNAME question


Hello,

Is there anything that is similar to a CNAME record but can point to a directory also?

For instance, say I wanted:

subdomain.maindomain.com

to point to:

whatever.seconddomain.com/folder/

I know with a CNAME I can get it to go as far as the full domain name but not the folder. Anyway to achieve this?

Thanks!

Reply With Quote


Sponsored Links
  #2  
Old 04-09-2006, 09:58 PM
ayksolutions ayksolutions is offline
Web Hosting Master
 
Join Date: Sep 2005
Location: Albany, NY
Posts: 3,189
use mod_rewrite. That will help you achieve it.

__________________
www.AYKsolutions.com - 11+ Global Locations in LA, Phoenix, Denver, Dallas, Chicago, Atlanta, NYC, Europe & more
From Shared to Dedicated - 100TB/1Gbps/10Gbps plans, Cloud Servers, Colo & VPS available in US and EU - Optimized for Minecraft and Social/High Traffic Websites. DDOS Protection Now Available! Current Specials
Professional. Painless. Polite. All Managed.


Reply With Quote
  #3  
Old 04-09-2006, 10:02 PM
bumfilter bumfilter is offline
Junior Guru Wannabe
 
Join Date: Nov 2004
Posts: 53
I can't use that, the destination server cannot be re-configured in anyway, shape or form.

I can control the "maindomain.com" but I'm using the "seconddomain.com" server to offload content serving, so if mod_rewrite could achieve this, it would have to be done in a way that didn't cause any sort of output buffer.

Thanks

Reply With Quote
Sponsored Links
  #4  
Old 04-09-2006, 10:38 PM
ub3r ub3r is offline
Disabled
 
Join Date: Dec 2002
Location: chica go go
Posts: 11,858
dns and httpd are two completely different services. You would have to use mod_rewrite, or possibly php to redirect the traffic based on the requested uri.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
The Value of Your Intellectual Property Blog 2013-05-06 17:43:13
Joomla Hosting Study Shows Speed, Uptime Top Selling Points of a Web Host Web Hosting News 2012-11-07 15:06:36
10-14-2012 Roswell, NM - The Hosting Shift Blog 2012-10-24 15:14:40
Rackspace Blog Looks at Easy Outsourcing for App Development Blog 2012-03-05 19:07:48
Blackberry the UnCloud Blog 2011-10-14 15:28:54


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?