Want to hide IP address

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Want to hide IP address

Postby ajvobara » 12. May 2009 14:46

Hi guys,

I've been searching every where for help with this.. hopefully some can point me in the right direction..

I've intalled xampp and am hosting my own domain...
The problem I have is I don't know how to mask or hide the IP address of the host when someone navigates through the site.. you can easly see in the information bar or copy the link location like this.. http://97.460.57.264/joomla15/index.php/contact-us.html

why isn't apache server returning the domain name like this http://mysite.com/contact-us.html enstead??

I was told that setting up a virtual host with the SeverName maker declaring http://mysite.com would fix it.. but, that has done it.. am I missing something??

thank you in advance

** IP and web site name changed for privacy
ajvobara
 
Posts: 6
Joined: 12. May 2009 14:35

Re: Want to hide IP address

Postby Wiedmann » 12. May 2009 15:01

why isn't apache server returning the domain name like this http://mysite.com/contact-us.html enstead??

That's not the job from Apache.
--> Your browser is just showing you, what it can find in the HTML output. And the HTML was made from you (or a PHP/Perl script).
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Want to hide IP address

Postby ajvobara » 12. May 2009 15:18

OIC.. !! that makes since.. well, I'm using XAMPP for windows.. so, do you know if there is an easy way to configure the script to exchange the IP for my domain name?
ajvobara
 
Posts: 6
Joined: 12. May 2009 14:35

Re: Want to hide IP address

Postby Wiedmann » 12. May 2009 15:19

do you know if there is an easy way to configure the script to exchange the IP for my domain name?

I don't know your script, and how this script is creating the URIs for the links at the moment...
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Want to hide IP address

Postby ajvobara » 12. May 2009 16:28

I'm using Joomla 1.5.10.. do you know that? does that help?
ajvobara
 
Posts: 6
Joined: 12. May 2009 14:35

Re: Want to hide IP address

Postby Wiedmann » 12. May 2009 16:33

I'm using Joomla 1.5.10.. do you know that?

No.

BTW:
If you are in the HTML source view (in your bowser), how does the links looks like?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Want to hide IP address

Postby ajvobara » 12. May 2009 17:20

In the source page, all the links have this tag:

<a href="/joomla15/index.php?page=shop.browse&amp;category=&amp;option=com_virtuemart&amp;Itemid=1">

So, when you hover each link the browers returns http://IPaddress/joomla15/index.php...etc...
ajvobara
 
Posts: 6
Joined: 12. May 2009 14:35

Re: Want to hide IP address

Postby Wiedmann » 12. May 2009 18:05

So, when you hover each link the browers returns http://IPaddress/joomla15/index.php...etc...

How did you load the page in your browser?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Want to hide IP address

Postby ajvobara » 12. May 2009 18:35

Here's a good sample of code from teh page source.. is this was you mean?



Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr" >
<head>
   <script type="text/javascript" src="/joomla15/templates/noblemall/js/jquery-1.3.2.min.js"></script>
   <script type="text/javascript">jQuery.noConflict();</script>
   <script type="text/javascript" src="/joomla15/templates/noblemall/js/jquery.ifixpng2.js"></script>
   <script type="text/javascript">
   jQuery(document).ready(function(){
      jQuery.ifixpng('/joomla15/templates/noblemall/images/transparent.gif');
      jQuery('.ssmed_height_save img').ifixpng();
      jQuery('a.readon').ifixpng();
      jQuery('#shop_logo img').ifixpng();
   });
   </script>
     <base href="http://72.322.57.789/joomla15/" />

  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <meta name="robots" content="index, follow" />
  <meta name="keywords" content="joomla, Joomla" />
  <meta name="description" content="Joomla! - the dynamic portal engine and content management system" />
  <meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />
  <title>Shop With Us - Vorcek Enterprises Ltd.</title>
  <link href="/joomla15/index.php?format=feed&amp;type=rss" rel="alternate" type="application/rss+xml" title="RSS 2.0" />
  <link href="/joomla15/index.php?format=feed&amp;type=atom" rel="alternate" type="application/atom+xml" title="Atom 1.0" />

  <link href="/joomla15/templates/noblemall/favicon.ico" rel="shortcut icon" type="image/x-icon" />
  <script type="text/javascript" src="/joomla15/media/system/js/mootools.js"></script>
  <script type="text/javascript" src="/joomla15/media/system/js/caption.js"></script>

   <link rel="stylesheet" href="/joomla15/templates/noblemall/css/positionen.css" type="text/css"/>
   <link rel="stylesheet" href="/joomla15/templates/noblemall/css/layout.css" type="text/css"/>
   <link rel="stylesheet" href="/joomla15/templates/noblemall/css/menu.css" type="text/css"/>
   <link rel="stylesheet" href="/joomla15/templates/noblemall/css/editor.css" type="text/css"/>
   <link rel="stylesheet" href="/joomla15/templates/system/css/system.css" type="text/css"/>

   <!--[if IE 7]>
      <link href="/joomla15/templates/noblemall/css/ie7_only.css" rel="stylesheet" type="text/css" />
   <![endif]-->
   <!--[if lt IE 7]>
      <link href="/joomla15/templates/noblemall/css/ie6.css" rel="stylesheet" type="text/css" />
   <![endif]-->
</head>
<body>
      <!--start all-->
      <div id="all">
                  
                  <div class="clear">
         </div>
ajvobara
 
Posts: 6
Joined: 12. May 2009 14:35

Re: Want to hide IP address

Postby Wiedmann » 12. May 2009 19:31

is this was you mean?

No. I want know the URI, you are using in your browser, to load the page.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Want to hide IP address

Postby Wiedmann » 12. May 2009 19:51

Got URI with pm.

OK. XAMPP can't help you with this issue. Your domain is hosted on another server, and this server is doing a redirect to the IP from your XAMPP server.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Want to hide IP address

Postby ajvobara » 12. May 2009 20:02

Right, I just have that subdomain A record pointing to the XAMPP server.. there's no way of masking or configuring differently to return the sub-domain enstead of the IP?
ajvobara
 
Posts: 6
Joined: 12. May 2009 14:35

Re: Want to hide IP address

Postby Wiedmann » 12. May 2009 20:12

configuring differently to return the sub-domain enstead of the IP?

I guess you can Joomla configure to create URI's with the sub-subdomain.
But:
Just test yourself: Change the ip in the address bar to your sub domain name and press enter and see what happens.

there's no way of masking

If you can use a "frame redirect" instead of a normal redirect, the address bar would not change. But frames are not user and seo friendly. And in the source code or status bar you can still see your ip.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Want to hide IP address

Postby dinaafifi » 28. November 2013 22:00

VPN is the best choice. I use this VPN to hide my IP address https://www.waselpro.com/en/there are many other servers. all servers are encrypted, this one worked great for me.
dinaafifi
 
Posts: 1
Joined: 28. November 2013 14:10
Operating System: win7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 141 guests