How to make a URL automatically redirect to other URL by modifying the registry?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xinyonghu
    Confirmed User
    • Apr 2012
    • 818

    #1

    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
    Confirmed User
    • Feb 2005
    • 1699

    #2
    Originally posted by xinyonghu
    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

    Comment

    • xinyonghu
      Confirmed User
      • Apr 2012
      • 818

      #3
      Originally posted by Fetish Gimp
      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.

      Comment

      • Andreweb
        Confirmed User
        • Mar 2013
        • 2431

        #4
        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
        Cheap Reliable Hosting

        Comment

        • Fetish Gimp
          Confirmed User
          • Feb 2005
          • 1699

          #5
          Originally posted by xinyonghu
          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

          Comment

          • k0nr4d
            Confirmed User
            • Aug 2006
            • 9231

            #6
            Originally posted by Fetish Gimp
            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.
            Mechanical Bunny Media
            Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development

            Comment

            • Supz
              Arthur Flegenheimer
              • Jul 2006
              • 11057

              #7
              Originally posted by k0nr4d
              That's different too, that just points the domain at a different ip.
              But technically you can do it that way.

              Comment

              • Fetish Gimp
                Confirmed User
                • Feb 2005
                • 1699

                #8
                Originally posted by Supz
                But technically you can do it that way.
                True dat.
                Last edited by Fetish Gimp; 04-19-2013, 11:04 PM.
                Strapon Seduction - femdom blog | Twitter

                Comment

                • k0nr4d
                  Confirmed User
                  • Aug 2006
                  • 9231

                  #9
                  Originally posted by Supz
                  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.
                  Mechanical Bunny Media
                  Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development

                  Comment

                  • Supz
                    Arthur Flegenheimer
                    • Jul 2006
                    • 11057

                    #10
                    Originally posted by k0nr4d
                    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.

                    Comment

                    • xinyonghu
                      Confirmed User
                      • Apr 2012
                      • 818

                      #11
                      Originally posted by Supz
                      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

                      Comment

                      • Barry-xlovecam
                        It's 42
                        • Jun 2010
                        • 18083

                        #12
                        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 ?

                        Comment

                        • xinyonghu
                          Confirmed User
                          • Apr 2012
                          • 818

                          #13
                          Originally posted by Barry-xlovecam
                          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£¿

                          Comment

                          • Barry-xlovecam
                            It's 42
                            • Jun 2010
                            • 18083

                            #14
                            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, 06:17 PM.

                            Comment

                            Working...