SRCDS Steam group

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

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

what do i have to write more ? so that it will not show the ip /
Sounds like improperly set domain name. What happens when you type in the main domain? That doesn't change to an IP does it?

You shouldn't even need to have anything in the .htaccess for it to work normally. Anyway, just sounds as if the sub-domain PTR record (reverse DNS) or similar isn't properly set on by your webhost. I would just contact them and tell them to fix it.
i got the domain hosted on serverfly and it doesnt show the ip

i created a subdomain an pointed it to my server but there isnt an option to mask it :/
you really shouldn't have to mask it. if you have it forwarded to the ip, then it will show the ip. thats pretty much how it is. you should be able to just point the sub to the address and not forward it to it. (as you can tell its been awhile since I have really worked with domains and stuff Smile)

Forum Jump:

Users browsing this thread: 1 Guest(s)