![]() |
Hosting tech question:
How can I make subdirectories on a domain act like subdomains?
ex. blah.com/bleh = bleh.blah.com |
ummm, you could set them up as subdomains instead of subdirectories. I have never heard of doing what you are attempting.
|
Quote:
|
Quote:
|
Quote:
This thread will assist in learning the craziness of mod_rewrite. |
Quote:
|
Quote:
That doesn't mean I am not investigating the possibility. |
could always setup a vhost..
<VirtualHost xxx.xxx.xxx.xxx> UseCanonicalName off VirtualDocumentRoot /home/somewhere/www/%1.0.%3.0 </VirtualHost> that should map subdomains to folders, you can replace the %1.0 with %2.0 if you want to use domain.com atleast this is the way it should work. pulling this from a config wher esomeone has hundreds of folders and all on one ip and hundres of domains each domain is domain1.com ect.. they use the %2.0 instead of %1.0 htaccess can do it too.. |
.htaccess.
Smokey made a post a few months ago(?) on how to do exactly that. |
Quote:
|
Quote:
|
Quote:
Anyways, I found this post from Fris: Quote:
|
Quote:
Your host doesn't know how to do it? You need a new host dude, something that simple should be within the grasp of any host worth their salt. |
Quote:
|
Quote:
If they were a great host they would have taken care of that for you. |
Quote:
|
Quote:
|
Quote:
|
i wanted to do that a year ago.. uno if you don't have any luck let me know and I can look for my notes
|
ummm, there is an apache module that does this... mod_vhost_alias if I recall correctly.
|
Quote:
|
Sub domains are old school, nowadays /directory is the norm
But if you really want sub.domains then redirect the directory with a htaccess file or just use that folder as the sub.domain folder and don't use any absolute paths. |
Uno
Hope you got this sorted out. You know we are still here for you if you need it. Phatservers.net |
no idea......
|
Quote:
Other than that, I have never had a complaint with your company and the service you provide. Problems were addressed very quickly and service was top notch! I highly recommend Phatservers to anyone! |
Quote:
I know of a few hosts who will take care of pretty much any request you can think of without ever having to hear "we don't know how to do that". But I'm not here to promote hosts, I'm here to try and get down to the nitty gritty. :) Remember folks, there are more variables to consider than just price when you're choosing a host. Expensive does not always mean awesome, cheap does not always mean shitty. Do your research, ask your friends and colleagues who they host with and why. |
Quote:
|
Quote:
|
Quote:
If your current host can't figure it out, hit me up personally and i'll get you in the right track, You have always been a good customer and I appreciate that! |
Quote:
|
Quote:
|
Quote:
|
Code:
RewriteEngine On |
Quote:
It's always great when only part of the story is revealed and folks try to build a case around that. Quote:
We didn't get to be the biggest in the industry by providing poor service. Do you think we could keep the customers we have (PentHouse, Karups, LightSpeed, PlatinumBucks, Shemp, AL4A, Twistys, ConsumptionJunction, TripleXCash/TeenRevenue, SweetEntertainment and Shaw Internet?just to name a few...I could provide more if you need) by not knowing what the heck we are doing? :thumbsup -- Bill |
NatNet did get it, and I have no complaints about the service. They are a great company and have done a lot for me so far.
|
Actually the full story is that it was a post by Fris on here that helped the techs understand what i wanted to do. The other tech had no idea either.
|
Quote:
|
Quote:
|
| All times are GMT -7. The time now is 05:14 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123