Questions tagged [localhost]

On modern day computers, localhost as a hostname translates to an IP address of 127.0.0.1 which is an internal loop-back IP address.

Filter by
Sorted by
Tagged with
1
vote
1answer
2k views

Localhost vs 127.0.0.1 - Error when referring to own IP address for an application running on IIS

I have an ASP.net application which I've been playing around with on my Windows 2008 server. I have WordPress installed so that when I visit the server by it's IP address I can visit my hosted website....
3
votes
2answers
3k views

My DNS zone includes a loopback record - do I need it?

My dns zone contains a loopback: localhost IN A 127.0.0.1 Do I need it, and if so why? I can't think of a reason to have it here, especially as - without a dot - it would be localhost.example.com
4
votes
1answer
2k views

Apache Virtual Host does not work

I've problems setting up a virtual host on windows7, so that I can develop multiple pages on my localhost. To set up the virtual Host, I've edited 3 Files: httpd-vhosts.conf in apache\conf\extra ...
1
vote
1answer
430 views

How to copy Wampserver functionality for localhost on Ubuntu

How to recreate a Wampserver like functionality on my localhost so I can see loaded Apache/PHP/MySQL Version, Loaded PHP modules, My Projects (actual directories in the "/var/www"/) and etc.
3
votes
1answer
2k views

Redirect subdomain to local PC

I have a home web server which is constantly running. Is it possible to create a subdomain which would redirect traffic to another local PC? For example, I have one Server and one notebook (with web ...
0
votes
2answers
184 views

What to use for "localhost" that includes PHP/SQL functionality?

I really do not want to install Linux at the moment, I would have to borrow a USB key, move files, format it, flash it, format it again, move files back, give it back... What would you recommend that ...
6
votes
1answer
12k views

Tomcat serving static content with directory listings

I have Tomcat 7 configured to serve static contents from a directory: <Host appBase="webapps" name="localhost"> ... <Context docBase="/var/projectA/static" path="/projectA/" /> &...
1
vote
1answer
10k views

MAMP not working as 'localhost' but works with "127.0.0.1"

I just installed MAMP on Mac OSX 10.8.2. When it is started, I'm not able to access the server through http://localhost:8888 but when I visit http://127.0.0.1:8888/ and it works fine. Why is it so? ...
2
votes
1answer
1k views

Need a generic way to create SEO friendly URL

I have searched a lot and implemented many many Regular Expression in my .htaccess file but can not succeed. How do I find a generic way that make my URL SEO friendly? Currently this is in my ....
1
vote
2answers
147 views

Hosting an apache server from my mac

I created a website with PHP and JS. I want to send my IP address to a friend who is in another state and let him see it. My site is loaded by xampp. How could I do this?
-2
votes
1answer
231 views

How can set a local host ip address to forward to local host virtual host domain name [closed]

I want to forward different domain names to single IP Address (local for testing), but how can i recognize in pc that which domain name should be linked to which folder? For example in my windows ...
1
vote
0answers
365 views

Different behaviour with windows authentication on IIS7 websites

I need to run a website with just windows authentication. Given the following situation: The location of the default website is: c:\inetpub\wwwroot The location of my code is: c:\Sites\WebApp My ...
0
votes
2answers
1k views

apache virtual host problem on windows 7 - please explain

This problem has never occurred in the past (i have tried this many times) but this time, ALL virtual hosts defined in the virtual-hosts.conf file in the apache installation directory direct the ...
1
vote
2answers
298 views

Connecting to my new server

I have bought the hosting and now I have successfully created a database and new user and I have enter phpmyadmin from cPanel to create database. Now everything is done. But where can I find ...
1
vote
1answer
3k views

Why the difference between Tomcat and Tomcat7 regarding servlet mapping and defaults?

With the following configuration: <servlet-mapping> <servlet-name>default</servlet-name> <url-pattern>*.css</url-pattern> </servlet-mapping> <servlet-...
1
vote
1answer
2k views

xampp not working with DynDNS

My setup consists of: a XAMPP 1.7.7 installation, with Apache configured to listen to port 8080 dyn.com to make the projects accessible from the web ( 8080 shows up as 'open' when checking with ...
2
votes
1answer
80 views

Handling request after installing MAMP (no DNS setup yet)

I've just installed MAMP on my mac machine and checked the server is working by looking at localhost. I looked up my IP address by ifconfig. When I use another machine, I still can't get connected to ...
3
votes
0answers
3k views

Can't log in to phpMyAdmin after removing MySQL root password

I get this messege: #1045 - Access denied for user 'root'@'localhost' (using password: YES) I tried changing the password in phpMyAdmin config.inc.php from root to '' but all I got was Cannot connect:...
1
vote
1answer
744 views

Congifuring Red5 Server to run on localhost

I just installed the red5 rtmp server on my machine and tried to run the demo. The only thing that i see is "connecting to server" but it never gets connected. I have gone through most of the ...
2
votes
2answers
20k views

wamp installed can't find localhost

I installed a WAMP package on a Windows 7 machine and everything ( Apache, php, mySql, phpMyAdmin) appear to have installed correctly. However when I try to access localhost or phpMyAdmin via the ...
2
votes
3answers
12k views

Restrict access to IP address range

I’m trying to restrict access to a web resource to the intranet of a company via .htaccess. Unfortunately, the approach via Allow from … isn’t working for me and and I don’t understand subnets well ...
2
votes
5answers
13k views

How do I access PHPMyAdmin after install in Ubuntu?

I installed Apache and then PHPMyAdmin on my Ubuntu server, but I have not been able to access PHPMyAdmin at http://localhost/phpmyadmin/. http://localhost is working however.
1
vote
3answers
6k views

Why isn't my PHP file running and instead Apache is offering it for download?

I recently installed Apache and later installed PHP too. When I browse to http://localhost/index.html it displays the default Apache page "it works". But when i try to run http://localhost/phpinfo....
1
vote
1answer
117 views

Name of virtualhost (apache)

I need to create virtualhost with name "virtualhost_name". To access it with http://virtualhost_name I have a pattern: <VirtualHost *:80> ServerAdmin jan@novak.cz DocumentRoot "path" ...
1
vote
1answer
272 views

htaccess - "detect" url and redirect

Idea is: if URL = "http:/localhost/site/" else if URL = "http:/localhost/site" redirect to "http:/localhost/site/index.html" Can this be done with .htaccess / Apache mod_rewrite and how?
0
votes
1answer
884 views

Joomla Backend running slow on localhost

I made a local backup of my Joomla site a few months ago to test changes before updating the live site. Everything worked fine. Today I checked the local version after a while but when I open access ...
8
votes
5answers
59k views

How to login as another user in phpmyadmin

I installed phpmyadmin in Win7, and if I type http://localhost/phpmyadmin/index.php in the browser, it will log in phpmyadmin as root user by default. I created a new user but still there's no login ...
1
vote
1answer
565 views

How to forward a domain on IIS on windows 7

Briefly my question is about combining my registered domain with the websites listening on port 80/8080 on my server. I have a web server IIS on windows 7 and two web sites listening on port 80 and ...
1
vote
1answer
1k views

Symbolic link not allowed or link target not accessible: /var/www on Ubuntu 11.04

I am getting a 403 when i access http://mayfieldafc.local/ upon looking in the Apache logs I am getting: [Wed Nov 16 12:32:59 2011] [error] [client 127.0.0.1] Symbolic link not allowed or link target ...
0
votes
2answers
418 views

Simple MediaWiki question

I'm thinking about making a mediawiki website. At first I'd like to try it at localhost. I'm running Kubuntu 11.10, so I did: sudo aptitude install apache2 mysql-server php5 php5-mysql php5-cli And ...
4
votes
2answers
3k views

Apache2 virtual host localhost doesn't render CSS when offline because of absolute path

I'm running apache2 on a local server. I use no-ip.com to route DNS to that server through my cable modem. While disconnected from the web and working on localhost my web pages don't render the CSS ...
1
vote
2answers
957 views

getting mod_rewrite to work on Mac OS X

I'm trying to get mod rewrite to work on my Mac. This is the content of the .htaccess file: <Files *\.ini> order allow,deny deny from all </Files> RewriteEngine on RewriteRule .* ...
0
votes
1answer
639 views

Where is my Tomcat running on my virtual server?

According to what I know; Apache and Tomcat are listing on different ports by default. If I have both of them running locally then: localhost -> Apache home page (port 80) localhost:8080" -> Tomcat ...
1
vote
2answers
3k views

File permission problem with codeignitor project using xampp

I am currently using Codeignitor as my PHP framework with XAMPP. I always keep all my files in c:/xampp/htdocs/. The settings are working fine in my own localhost machine. But when I load the same ...
2
votes
1answer
876 views

Magento - Unable to access remote site but able to access a simple index.html file

I'm building a store (magento 1.6.0.0-rc2) and have a home server to host the site. It is behind a modem/router with redirection of port 80 and 3000 active to server box. 1. I can access the front-...
2
votes
2answers
15k views

Virtual host not working in Windows 7 XAMPP

I am using Windows 7 and XAMPP. I want to create a virtual host so I added 127.0.0.1 myawesomeproject to my hosts file (C:\Windows\System32\drivers\etc\hosts) like this: # Copyright (c)...
1
vote
1answer
1k views

How can I set my site root from: localhost/mysite/ to: localhost/mysite/view/ via htaccess

hi just wondering if this is possible, when you access my default site directory localhost/mysite I want to set the path to render localhost/mysite/view/ all my HTML pages will be rendered here just ...
1
vote
4answers
53k views

Xampp not displaying PHP pages in htdocs due to "failed to open stream: Permission denied"

I installed xampp this evening and none of my PHP pages will display. I am storing all my pages in the htdocs folder as directed too and calling via http://localhost/index.php and nothing appears? All ...
1
vote
4answers
1k views

Why is Joomla based website that was copied off of live server into localhost not showing pictures and throwing 404 error?

I have copied Joomla based website via FTP onto my machine and I am trying to make it run on my localhost which is provided by the latest version of XAMPP. I have exported and imported the DB with no ...
4
votes
3answers
505 views

GateIn + OpenAM 9.5.2

I'm actually trying GateIn for my firm and I don't manage to integrate OpenAM and GateIn. I follow all the steps in the GateInReference Guide but I've a problem. The scenario of the problem is : ...
2
votes
1answer
125 views

Drupal - after installation the website invisible

I just installed Drupal. But after installation I can't see my installed site. Upon visiting the URL http://localhost/drupal-7.0/ in my browser I do not get the web page as expected but see files and ...
2
votes
3answers
311 views

Mod Rewrite question

Is there a way to rewrite http://localhost/embed/player.swf?file=http://www.youtube.com/watch?v=7yKDhm4_-90 to something smaller? or is there a way to change this into http://localhost/embed/...
5
votes
3answers
394 views

Where to buy a domain for my local server [closed]

I have made a website and hosted in my local computer using a static ip Where can i buy a domain name such as www.something.com such that it can redirect to my static IP. So that if i m using a page ...
0
votes
1answer
144 views

how can i let my friends visit my webserver?

How do I make it so that my friends can visit my localhost website by typing in my IP address into their browser address bar? I'm using XAMPP what steps do i need to take etc.

1
2