View Full Version : How..
How do you do this (ive searched google btw)
Make it so
www.namehere.froobe.co.uk
goes to
www.froobe.co.uk/sub.php?text=namehere
But I want name here to be customizable so I dont have to keep adding them, like on www.you.justgotowned.com
omgDAN!
14-05-2007, 02:40 PM
Something to do with htaccess I think.
Florx
14-05-2007, 02:48 PM
Put this in .htaccess:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.yoursite\.com
RewriteCond %{HTTP_HOST} ([^.]+)\.yoursite\.com [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/sub.php?page=%1 [L,R]That should work :)
Got it from
http://www.msfn.org/board/lofiversion/index.php/t19527.html
Thanks,
Jake
Put this in .htaccess:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.yoursite\.com
RewriteCond %{HTTP_HOST} ([^.]+)\.yoursite\.com [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/sub.php?page=%1 [L,R]That should work :)
Got it from
http://www.msfn.org/board/lofiversion/index.php/t19527.html
Thanks,
Jake
Doesnt work.. Shall I open a CNAME?
RYANNNNN
14-05-2007, 03:32 PM
http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=wildcard+subdomains
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.