MyBB Internal: One or more warnings occurred. Please contact your administrator for assistance.
masking a subdomain
SRCDS Steam group


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
masking a subdomain
#1
currently when i write sub.domain.net, when the page loads it is showing the server ip so i need to mask it

my current .htaccess shows:
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^sub.domain.net$ [OR]
RewriteCond %{HTTP_HOST} ^www.sub.domain.net$
RewriteRule ^(.*)$ http://***.***.***.***/folder_name/ [R=301,L]

what do i have to write more ? so that it will not show the ip /
Reply


Messages In This Thread
masking a subdomain - dejv - 09-07-2007, 06:38 AM
RE: masking a subdomain - Muppet - 09-07-2007, 07:36 AM
RE: masking a subdomain - dejv - 09-07-2007, 07:52 AM
RE: masking a subdomain - skeletor - 09-07-2007, 10:43 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)