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.

Localhost is an internal hostname that points to 127.0.0.1, it is also used to describe a local machine.

103 questions
9
votes
2 answers

Why does Chrome resolve websitename.localhost as localhost?

I've been using .localhost as a TLD for locally hosted sites that I am working on. Usually when I start a new site I create an entry in the apache virutal host configuration file and then add an entry in Windows' hosts file to map the address to…
Cave Johnson
  • 225
  • 2
  • 8
8
votes
5 answers

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 window... every time it logs in as root by…
manxing
  • 181
  • 1
  • 1
  • 3
8
votes
2 answers

Must I use a Top Level Domain (TLD) for localhost websites?

I've always used name.dev for local development, but since Google Chrome 63 update, out December 2017, domains with .dev are in the preloaded HSTS list with a rule enforcing HTTPS, no workarounds. IETF states a few reserved TLDs for…
6
votes
1 answer

Tomcat serving static content with directory listings

I have Tomcat 7 configured to serve static contents from a directory: ... This is available at localhost:8080/projectA/. Is it…
milan
  • 161
  • 1
  • 1
  • 5
5
votes
3 answers

Where to buy a domain for my local server

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 like a http://localhost/index.jsp it can be…
5
votes
2 answers

Google analytics giving false statistics for localhost

I'm developing an ASP.NET MVC site and I'm using Google Universal Analytics to test how to use that. Essentially every page has code that calls the Google Analytics JS function and all that is working fine. However my application is running…
5
votes
1 answer

Returning 404 error after using RewriteRule on localhost

I would like to use localhost/projects/project1/page/x instead of localhost/projects/project1/index.php?page=x. But after I had redirected the URL in .htaccess using RewriteRule, it returned my 404 error page. Here is my code: ErrorDocument 404…
Márton Juhász
  • 53
  • 1
  • 1
  • 6
5
votes
3 answers

Can't access website from same network

I've setup IIS locally to host a website. I've created a free NOIP account so I can access it with a domain name. It's temporary, so I plan to assign a real domain to it later. I setup port forwarding on the router. Everything is in place. I…
Charlie74
  • 201
  • 1
  • 2
  • 9
5
votes
1 answer

Can I view my PC localhost test site on my android tablet without uploading it?

I am working on a web site which is running on my PC via XAMPP. I want to test the site on my android tablet (galaxy tab) to make sure that the responsive design behaves that way it is designed to. I am wondering if there is a way to connect my…
Hoytman
  • 459
  • 1
  • 5
  • 12
4
votes
1 answer

Migrate facebook app from WAMP Server localhost to facebook

I have developed an app for Facebook and it is currently hosted via a localhost WAMP Server. My question is how can I put my app on Facebook? What would be the steps I must follow? Please note: My Facebook Application doesn't need any database to…
4
votes
1 answer

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 httpd.conf in apache\conf hosts in…
4
votes
2 answers

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 since WordPress is linking to the absolute domain…
Anagio
  • 11,205
  • 1
  • 27
  • 49
4
votes
2 answers

Why can't I access an Apache web server on a local network with my phone?

I have a website that needs to work only on my local network, I am hosting it on Apache, I have already done all the steps to make it accessible from any PC and laptop, but for some reasons if I try to reach it from a mobile phone it either give me…
4
votes
3 answers

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 : Go to localhost:8080/portal Click Administrator I'm…
Maçois
  • 61
  • 3
3
votes
1 answer

Easiest way to preview https over localhost?

I'm creating a site that will be served over https when deployed. That means urls in the links of the site et cetera are https://... But now it's in an emerging state and I preview it on localhost. Basically I just want to be able to keep the urls…
PetaspeedBeaver
  • 659
  • 6
  • 16
1
2 3 4 5 6 7