|
|

06-27-2008, 01:00 PM
|
#1 (permalink)
|
|
Member
Join Date: Dec 2006
Location: Ontario, Canada
Posts: 216
|
Forcing off domains
Okay, my friend registered an undesirable domain name and pointed it to my microsite.
Now I'm talking to him and he does not want to point away the domain name. Is there any way to force off domain names? He pushes me around with saying "It's my domain name, I'll point it ANYWHERE I want" and other crap. I honestly say "What an a**."
Back on topic, can I force-off domains? Redirect it somewhere else like his site? Or force-point it to Google? Anything?
|
|
|
06-27-2008, 02:05 PM
|
#2 (permalink)
|
|
GIGABYTE Forum Mod
Join Date: Jan 2008
Posts: 4,962
|
Re: Forcing off domains
Yeah, I believe you can with a script. Let me ask my Guy Cherry and get back to you
Last edited by Lsdmeasap; 06-27-2008 at 02:09 PM.
|
|
|
06-28-2008, 04:25 AM
|
#3 (permalink)
|
|
GIGABYTE Forum Mod
Join Date: Jan 2008
Posts: 4,962
|
Re: Forcing off domains
K Here is all you need to do >>>
Add this code to htacces in your public_html folder
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^arseholes.url$ [OR]
RewriteCond %{HTTP_HOST} ^www.arseholes.url$
RewriteRule ^/?$ "http\:\/\//google.com" [R=301,L]
This will point all redirects from his domain to yours to a permanent redirect to Google
|
|
|
06-28-2008, 11:55 AM
|
#4 (permalink)
|
|
Member
Join Date: Dec 2006
Location: Ontario, Canada
Posts: 216
|
Re: Forcing off domains
(Lol at one part of the code)
Anyway, I created a file called .htaccess then added that (modified of course) code and uploaded it there.
Then it redirects to Google. Just as planned. Thanks!
Last edited by Aguiluz; 06-28-2008 at 11:57 AM.
Reason: Misspellings
|
|
|
06-28-2008, 12:22 PM
|
#5 (permalink)
|
|
GIGABYTE Forum Mod
Join Date: Jan 2008
Posts: 4,962
|
Re: Forcing off domains
Superb! Yeah I had to use that, tried a s s and it got ****'d SO I had to use Arse
Glad I could help, Even if you found the solution before I got ya a answer because now I know incase anyone else ever asks
So, What was he doing if ya dont mind me asking? Pointing pron at ya?
|
|
|
06-28-2008, 12:28 PM
|
#6 (permalink)
|
|
GIGABYTE Forum Mod
Join Date: Jan 2008
Posts: 4,962
|
Re: Forcing off domains
Hey, he just told me you should use this instead, using .com instead of .url >>>
New and more proper
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^arseholes.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.arseholes.com$
RewriteRule ^/?$ "http\:\/\//google.com" [R=301,L]
OLD >>>
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^arseholes.url$ [OR]
RewriteCond %{HTTP_HOST} ^www.arseholes.url$
RewriteRule ^/?$ "http\:\/\//google.com" [R=301,L]
|
|
|
06-29-2008, 03:35 AM
|
#7 (permalink)
|
|
Member
Join Date: Dec 2006
Location: Ontario, Canada
Posts: 216
|
Re: Forcing off domains
Huh? But it worked.
I replaced .url with .com.
I'll redirect it to wikipedia. :)
Though I can't give out his domain because it has some bad words on it.
|
|
|
06-29-2008, 02:43 PM
|
#8 (permalink)
|
|
GIGABYTE Forum Mod
Join Date: Jan 2008
Posts: 4,962
|
Re: Forcing off domains
Ahh, well I just wondered what he was pointing at you 
Ya, that was all I meant replace url with com
|
|
|
07-01-2008, 06:09 AM
|
#9 (permalink)
|
|
Member
Join Date: Dec 2006
Location: Ontario, Canada
Posts: 216
|
Re: Forcing off domains
Quote:
Originally Posted by Lsdmeasap
Ahh, well I just wondered what he was pointing at you 
|
Well, if you wanna know, it contains three bad words. Having 3 bad words associated with my microsite is I don't like.
(My grammar is crap at sometimes.)
|
|
|
07-01-2008, 03:42 PM
|
#10 (permalink)
|
|
GIGABYTE Forum Mod
Join Date: Jan 2008
Posts: 4,962
|
Re: Forcing off domains
Well, at least you got it fixed!!!
I bet he is MAD now!!
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
All times are GMT +8. The time now is 01:56 AM.
| |