Hello everybody!
I need to access a svn repository from home, that runs under the IP 192.168.0.10 in the work network.
I can establish a SSH tunnel to my localhost.
Now I have to map 192.168.0.10 in a way, that instead 127.0.0.1 is accessed.
Does anybody know a way to do this under Windows?
Thanks in advance!
...
I want to setup my local development machine so that any requests for *.local are redirected to localhost. The idea is that as I develop multiple sites, I can just add vhosts to apache called site1.local, site2.local etc, and have them all resolve to localhost, while apache serves a different site accordingly.
I am on Windows XP.
I tri...
Hello,
I know how to set up a local webserver using xampp on windows... I enter my alias and target on the hosts file (c:\windows\system32\drivers\etc\hosts) and then add a respective entry on my apache vhosts config file. This way, assuming that my webserver is listening to port 80, I can for example map example.com to my local webserv...
I have been working on a drupal test site for a while, which has a bunch of virtual hosts set up like this:
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/path/to/root"
ServerName testsite1.example.com
</VirtualHost>
I have been using a modified host file to view each of these test sites, along the lines of:
12.0.0....
The /etc/hosts file can be used to override dns definitions, i.e. to point an hostname to a different ip.
I want to use /etc/hosts to make an alias record, i.e.e to make my computer think that www.mysite.com does not point to a "hard coded" up but instead is synonym of mychangingip.myip.com.
Can it be done?
...
What's the difference between these lines:
::1 localhost
...and
127.0.0.1 localhost
in Windows hosts file?
Initially I had the line of the first kind in my hosts file and typing localhost in the browser led me to 127.0.0.1. Then I didn't use localhost prompt in the browser for some time, and when I needed to use ...
This is some code to unblock any website from listview, but now I want to unblock a website which has previously been blocked. How can I do this?
String path = @"C:\Windows\System32\drivers\etc\hosts";
StreamWriter sw = new StreamWriter(path, true);
String sitetoblock = "\n 127.0.0.1 http://"+listView1.SelectedItems[0].Text+"";
sw.Write...
How I can map a service running on a specific port number to an alias on Ubuntu 8.10?
For example, I have a webservice which I can access like this:
http://localhost:3000/
But I want to access like this:
http://myservice/
I only want to access the service from the same machine.
I am running Ubuntu 8.10 and I thought at first I coul...
I have a Website project that I'm trying to debug using Fiddler. Fiddler doesn't track traffic from localhost, so I created another alias in my hosts file to use instead of localhost. Now I would like to have my project use the fiddler.local.com instead of localhost when I run my project. Is there a way to do this?
i.e. http://fiddle...
Hello,
My GF is from a country X. She is now living abroad but is addicted to internet and often spends many hours per day on her laptop browsing "nonsense" information by websites from that country X, or written in a language used by people from that country X.
She hates this habit of hers, and asks me to block as many possible URL fr...
Hi there
I m using windows 7 prof. and i want to run my web project but url modife to www.localhost.com
if use http://127.0.0.1:2710/default.aspx it working. i checked host file which in the C:\Windows\System32\Drivers\Etc\hosts. i deleted that rows :
# 127.0.0.1 localhost
# ::1 localhost
but anything changes. h...
One of my sites - mediadeals.co.uk is showing a blank page.
So I went back to my developer. He asked me to add this on my hosts file
in windows->system32->drivers->etc->hosts
74.86.205.232 mediadeals.co.uk
After doing this the site started working. What does this mean?
...
Dynamically I want to edit/update hosts(etc/hosts) file to add domain.
To edit hosts(etc/hosts) file require Admin privileged. Using Linux I can do this by this command
sudo gedit /etc/hosts
But I am trying to do this from using Programming Language.
How can i do it?
...
Hi all,
Is it possible to include port numbers in hosts file? Reason that I'm asking is because I have sites that I'm trying to migrate from one hosting server to another, and the sites are pointing to an old SQL server that uses the standard TCP/IP port (1433). On the new server, the SQL Server port is different, and I don't want to ch...
Hello,
I am trying to write about 5 websites all on one Apache server which is all on one IP address.
For example:
/var/www/site1
/var/www/site2
/var/www/site3
/var/www/site4
/var/www/site5
However, if I create a link on site 2 just using, for example. /index.php, you would expect it to look in /var/www/site2/index.php... but it a...
Hi,
I'm trying to block a website using the hosts file using this tutorial : http://hackspc.com/how-to-block-a-website/
but It doesn't work, the website I'v blocked In this case facebook still shows up, please can anyone help me out here?
Thanks,
parastar
...
On a daily basis I:
use multiple workstations running either Linux, Windows, or MacOS X
edit files on additional Linux hosts that are not any of the workstations mentioned above
The only common element here is that the internet connects all of these hosts: workstations and servers. I can keep all of the config files in sync on my wo...
I am using the urllib2 module in Python 2.6.4, running in Windows XP, to access a URL. I am making a post request, that does not involve cookies or https or anything too complicated. The domain is redirected in my C:\WINDOWS\system32\drivers\etc\hosts file. However, I would like the request from urllib2 to go to the "real" domain and ign...
Here is VDS server with ip(for example 105.123.123.123) with working apache service.
And there is a desktop computer with linux on board(but really I presume there is no difference). I need to type on web browser address like someaddress.com and to see website situated at my server.
My /etc/hosts:
127.0.0.1 localhost
105.123.123....
Is there a way to setup apache and tomcat so that I can have
d1.webapp.com
d2.webapp.com
d3.webapp.com
etc.
All hosted by the same tomcat instance without having to add aliases to the HOSTS element in the tomcat config file? I will be allowing new users to have thier own domain when they sign up and it will be a subdomain of the web ...