3

Possible Duplicate:
Apache Virtual Host redirect from subdomain to subdirectory

Without access to cpanel, apache conf files and only access to .htacess and FTP, how can I create a hosting site that when the user tries to access for example sub.domain.com it redirects to domain.com/sub automatically. the reason is to eliminate having to create subdomains by hand. Is this possible?

Luis Alvarado
  • 179
  • 1
  • 11

1 Answers1

3

Check htaccess-rewrite-to-subfolders-for-subdomains-and-the-main-domain. Should be able to work in your .htaccess file.

au_stan
  • 347
  • 1
  • 10