Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-19-2013, 09:59 PM   #1
xinyonghu
Confirmed User
 
xinyonghu's Avatar
 
Industry Role:
Join Date: Apr 2012
Location: China
Posts: 818
How to make a URL automatically redirect to other URL by modifying the registry?

For example ,If I entering abc.com, the URL will automatically redirect to def.com
Can u tell me how to achieve this by modifying the registry ?
Tks..
xinyonghu is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-19-2013, 10:06 PM   #2
Fetish Gimp
Confirmed User
 
Industry Role:
Join Date: Feb 2005
Posts: 1,699
Quote:
Originally Posted by xinyonghu View Post
For example ,If I entering abc.com, the URL will automatically redirect to def.com
Can u tell me how to achieve this by modifying the registry ?
Tks..
Your domain register should have a redirect option for the domain so that all traffic going to abc.com is sent to def.com

Or you can use Apache and .htaccess or php or javascript, etc
http://www.yolinux.com/TUTORIALS/ApacheRedirect.html
__________________
Strapon Seduction - femdom blog | Twitter
Fetish Gimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-19-2013, 11:25 PM   #3
xinyonghu
Confirmed User
 
xinyonghu's Avatar
 
Industry Role:
Join Date: Apr 2012
Location: China
Posts: 818
Quote:
Originally Posted by Fetish Gimp View Post
Your domain register should have a redirect option for the domain so that all traffic going to abc.com is sent to def.com

Or you can use Apache and .htaccess or php or javascript, etc
http://www.yolinux.com/TUTORIALS/ApacheRedirect.html
thanks for your reply. but I want to modifying the registry on my computer .not to the site.
xinyonghu is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-19-2013, 11:29 PM   #4
Andreweb
Confirmed User
 
Andreweb's Avatar
 
Industry Role:
Join Date: Mar 2013
Location: Internet
Posts: 2,425
You should use url redirect option from your domain register control panel! If you want the destination url to be visible chooce Url redirect, and if you want to hide destination url you must select cloak url or frame url!
Good luck there!
__________________
Make Money With: Chaturbate
Andreweb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-19-2013, 11:39 PM   #5
Fetish Gimp
Confirmed User
 
Industry Role:
Join Date: Feb 2005
Posts: 1,699
Quote:
Originally Posted by xinyonghu View Post
thanks for your reply. but I want to modifying the registry on my computer .not to the site.
I think you mean editing your Windows HOSTS file then
http://www.howtogeek.com/howto/27350...ur-hosts-file/
__________________
Strapon Seduction - femdom blog | Twitter
Fetish Gimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-19-2013, 11:56 PM   #6
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by Fetish Gimp View Post
I think you mean editing your Windows HOSTS file then
http://www.howtogeek.com/howto/27350...ur-hosts-file/
That's different too, that just points the domain at a different ip.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-19-2013, 11:58 PM   #7
Supz
Arthur Flegenheimer
 
Supz's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: New York City
Posts: 11,056
Quote:
Originally Posted by k0nr4d View Post
That's different too, that just points the domain at a different ip.
But technically you can do it that way.
Supz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-20-2013, 12:03 AM   #8
Fetish Gimp
Confirmed User
 
Industry Role:
Join Date: Feb 2005
Posts: 1,699
Quote:
Originally Posted by Supz View Post
But technically you can do it that way.
True dat.

Last edited by Fetish Gimp; 04-20-2013 at 12:04 AM..
Fetish Gimp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-20-2013, 12:10 AM   #9
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by Supz View Post
But technically you can do it that way.
Technically - yes - but it will only produce the desired results if the httpd on your target domain is setup to respond to the domain in question.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-20-2013, 12:11 AM   #10
Supz
Arthur Flegenheimer
 
Supz's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: New York City
Posts: 11,056
Quote:
Originally Posted by k0nr4d View Post
Technically - yes - but it will only produce the desired results if the httpd on your target domain is setup to respond to the domain in question.
Its not a great way. Its pretty late and cant think of another good way, and cant think of a reason why anyone would want to unless its to play a prank on someone else, and in that case ide just go with hosts file.
Supz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 03:15 PM   #11
xinyonghu
Confirmed User
 
xinyonghu's Avatar
 
Industry Role:
Join Date: Apr 2012
Location: China
Posts: 818
Quote:
Originally Posted by Supz View Post
Its not a great way. Its pretty late and cant think of another good way, and cant think of a reason why anyone would want to unless its to play a prank on someone else, and in that case ide just go with hosts file.
any simple ways?
how about set up a small web client/server in my computer? then edit hosts file?

web server: 127.0.0.2:80 point to def.com
hosts file: 127.0.0.2 abc.com
xinyonghu is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 04:48 PM   #12
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
Alter this file on your computer's operating system to point to the IP you want for the FQDN (fully qualified domain name).
example;
Code:
cat /etc/hosts
127.0.0.1	localhost
91.208.175.119  xlovecam.ch
see:https://en.wikipedia.org/wiki/Hosts_%28file%29

I think this is what you are trying to do ?
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 05:34 PM   #13
xinyonghu
Confirmed User
 
xinyonghu's Avatar
 
Industry Role:
Join Date: Apr 2012
Location: China
Posts: 818
Quote:
Originally Posted by Barry-xlovecam View Post
Alter this file on your computer's operating system to point to the IP you want for the FQDN (fully qualified domain name).
example;
Code:
cat /etc/hosts
127.0.0.1	localhost
91.208.175.119  xlovecam.ch
see:https://en.wikipedia.org/wiki/Hosts_%28file%29

I think this is what you are trying to do ?
Yeah I see what you mean.
well .if I don't know the ip of xlovecam.ch .or says it is sharing IP instead of unique IP.what should I do£¿
xinyonghu is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 07:04 PM   #14
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
You cannot change the remote server's IP address this way or with redirection

Let's say that your computer's DNS will not resolve that hostname to an IP address.

The hosts file will resolve the IP address for that name.

If your country or company's internal Intranet has blocked that domain's resolution; using its IP and not name may work.If not, you need a "man in the middle": SQUID Proxy server or a VPN.

Using server redirection will not allow the return packets addressed to your IP if the sender's hostname and IP are blocked. So, using that domain's server would not be possible after the initial page load.



You want to get to a banned site? You need a "man in the middle": SQUID Proxy server or a VPN.

There is a way to configure an http://IP/DocumentRoot for a server that way you can communicate with the server's DocumentRoot for its shared IP. Is that what you are trying to do?

this may work http://stackoverflow.com/questions/1...ache-web-serve

Last edited by Barry-xlovecam; 04-21-2013 at 07:17 PM..
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.