GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How to make a URL automatically redirect to other URL by modifying the registry? (https://gfy.com/showthread.php?t=1107030)

xinyonghu 04-19-2013 09:59 PM

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..

Fetish Gimp 04-19-2013 10:06 PM

Quote:

Originally Posted by xinyonghu (Post 19588029)
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

xinyonghu 04-19-2013 11:25 PM

Quote:

Originally Posted by Fetish Gimp (Post 19588036)
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.

Andreweb 04-19-2013 11:29 PM

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!

Fetish Gimp 04-19-2013 11:39 PM

Quote:

Originally Posted by xinyonghu (Post 19588113)
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/

k0nr4d 04-19-2013 11:56 PM

Quote:

Originally Posted by Fetish Gimp (Post 19588126)
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.

Supz 04-19-2013 11:58 PM

Quote:

Originally Posted by k0nr4d (Post 19588129)
That's different too, that just points the domain at a different ip.

But technically you can do it that way.

Fetish Gimp 04-20-2013 12:03 AM

Quote:

Originally Posted by Supz (Post 19588132)
But technically you can do it that way.

True dat.

k0nr4d 04-20-2013 12:10 AM

Quote:

Originally Posted by Supz (Post 19588132)
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.

Supz 04-20-2013 12:11 AM

Quote:

Originally Posted by k0nr4d (Post 19588137)
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. :thumbsup

xinyonghu 04-21-2013 03:15 PM

Quote:

Originally Posted by Supz (Post 19588138)
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. :thumbsup

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

Barry-xlovecam 04-21-2013 04:48 PM

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 ?

xinyonghu 04-21-2013 05:34 PM

Quote:

Originally Posted by Barry-xlovecam (Post 19590228)
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£¿

Barry-xlovecam 04-21-2013 07:04 PM

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


All times are GMT -7. The time now is 11:25 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123