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
2 votes
2 answers
70 views

State and City in breadcrumbs

We are designing breadcrumbs trail for a 'Products for Sale' site. Site will have products from several retail companies. Breadcrumbs will have Home > Prod Category > Prod sub category > ...
marcg's user avatar
  • 123
2 votes
1 answer
61 views

How can I copy a website from GoDaddy cPanel to my Mac

I want to move a small working website to my Mac for testing and experimenting. There is a small database with the website that will need to be accessed locally as well. The website is currently ...
J Bree's user avatar
  • 21
2 votes
1 answer
414 views

Changing HTML and CSS files don't show the change on the Apache virtual host?

I've been working on a website and I'm testing it on a virtual server hosted by my desktop. Whenever I change something on the HTML or CSS file I'm in, it shows the change I did on the LiveServer (the ...
awakuruf's user avatar
1 vote
1 answer
76 views

Lighthouse SEO score does not improve when sitemap.xml is expanded

I am currently working on improving my sites SEO score by identifying to Google which pages are canonical, and based on my research and feedback the best and easiest way is to expand our sitemap.xml ...
BeepJared's user avatar
4 votes
2 answers
2k views

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 ...
Federico Galvagni's user avatar
0 votes
0 answers
26 views

"Cannot Modify Header" error when moving MediaWiki to a subfolder on localhost

I installed, configured, and populated MediaWiki on localhost and have been maintaining my wiki locally for 4 years. Today I simply dragged the mediawiki folder into a subfolder I created for better ...
Eric Hepperle - CodeSlayer2010's user avatar
1 vote
1 answer
1k views

nginx how to configure nginx to nevigate to a subpage for reactjs app

I have following nginx setup where I used proxy configuration to redirect my landing page (built with reactjs) to my domain, say (www.example.com), here is my nginx configuration server { listen 80; ...
Md. Tanvir Raihan's user avatar
2 votes
1 answer
209 views

Why does subdomain.localhost work on Ubuntu but not on Debian? (without hosts entry)

I have set up LAMP stacks on both Ubuntu 20.04 and Debian 10 running Apache 2.4. The VirtualHost Files are identical as follows : <VirtualHost localhost:80> ServerAdmin webmaster@localhost ...
McRaef's user avatar
  • 23
1 vote
1 answer
436 views

Localhost website not accessible from Public IP despite port forwarding

My tiny office has 1 router, which is connected to ADSL line on one end and my laptop on other end. In office, laptop's local IP is 192.168.1.2. On office router, I have setup port (22) forwarding for ...
chocolate's user avatar
2 votes
1 answer
936 views

403 forbidden error when IIS is binding ASP web app on port 8080 to be accessed via a subdirectory

Windows Server 2012 R2 / IIS 8.5 I have a number of folders in C:\inetpub\wwwroot; - wwwroot - index.html - analytics (PHP app) - occupancy (PHP app) - rooms (ASP app) In IIS my sites ...
TheOrdinaryGeek's user avatar
0 votes
1 answer
24 views

Full local server preparing for use full site backup file from hosting

To install CMS from the beginning locally we need LAMP web service stack. In ex. in our Ubuntu OS, usually in var/www/html path will be our site (domain name folder).. But what from start I have to ...
Andrej Bukin's user avatar
3 votes
3 answers
855 views

Which is the practical difference between a server and a web server?

Let's consider the following example: I have a solution made with C# on Visual Studio, it has a multi-tier architecture, the different layers are the following: Data Model (Library) Data Access ...
franz1's user avatar
  • 823
1 vote
1 answer
99 views

WordPress redirecting to itself

I have the following error in my apache2 error log (Ubuntu 18.04, local LAMP dev environment, PHP7.3), that I believe is causing a The page isn’t redirecting properly error: Apache Error Log [Thu Aug ...
yupthatguy's user avatar
2 votes
1 answer
35 views

Do I need to change the host file of each computer to share a web page on a local network using a hostname?

I want to share a web page on a local network using a hostname. Is it necessary to change the host file of each PC?
Raul Rojas's user avatar
1 vote
2 answers
610 views

Can I test Google adwords conversion tracking on my local environment site?

First time setting up google conversion tracking for my client's custom form. I'm working locally on my localhost. I created a new conversion goal, configured custom tracking event, linked through ...
geochanto's user avatar
  • 135
1 vote
2 answers
220 views

Is there a way to share my joomla localhost website to someone else from the same network?

So I have this website locally. and I would like that my coworkers can look the website, we are in the same network but is there a way to host the website?
user avatar
2 votes
2 answers
665 views

How to test my website from my phone on the same local network? 127.0.0.1 doesn't work

I use a text editor to develop a website (Brackets), I can test on Chrome and change screen size on Chrome, but I want to test on my actual iPhone. If I try to go to the address : http://127.0.0.1:...
Curnelious's user avatar
1 vote
1 answer
1k views

Put WAMP online but hide its server index page

Currently I'm able to put WAMP online and access all my projects from other devices using the host IP address. But what displeases me is the fact that even from other devices, the server's index file ...
Francis Nduba Numbi's user avatar
2 votes
0 answers
452 views

Set default file and folder permission for new files and folders - apache , ubuntu

I checked the file and folder permission of /var/www/html/ using stat -c '%A %a %n' * Folders : 775 Files: 664 drwxrwxr-x 775 includes -rw-rw-r-- 664 index.php -rw-rw-r-- 664 maintenance.html ...
nandu kk's user avatar
  • 211
1 vote
2 answers
491 views

Blocking Adsense clicks on my computers [closed]

As a webmaster what I need is that I should be able to see the Adsense ads on my sites but if I click by mistake then it should not make a real click just to abide by Google Adsense policies. This ...
user5858's user avatar
  • 299
3 votes
2 answers
2k views

Google Business Sub Categories for Cleaning/janitorial Company

Is there a place that defines each Google My Business category? I am working on SEO for a Cleaning Company that provides janitorial services to local businesses/schools/hospitals.. Upon obtaining ...
Patrick's user avatar
  • 182
1 vote
0 answers
434 views

XAMPP phpMyAdmin - different users access same MySQL database [closed]

I have created a MySQL database on MyPHPAdmin (XAMPP 3.2). This is for a group project and I need to have different users access the same database. If they have XAMPP installed on their computer, is ...
codEinstein's user avatar
6 votes
2 answers
4k views

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. ...
Lucas Bustamante's user avatar
1 vote
1 answer
10k views

How to access a website through a Local Area Network that localhost change to a domain name

I have a problem with accessing the website that I created on XAMPP server from another device on the network. I already changed the HOSTS file: # localhost name resolution is handled within DNS ...
Angelica's user avatar
2 votes
0 answers
1k views

Updating address bar with new URL on local .html file

I'm having an html file somewhere placed on my computer for example file:///C:/Users/index.html Is it possible to manipulate that URL (using code inside that file) in a Browser which opened the file? ...
Tom's user avatar
  • 41
3 votes
1 answer
500 views

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. ...
PetaspeedBeaver's user avatar
2 votes
2 answers
2k views

jQuery not loading from CDN

I have a custom CMS, and for some reason jQuery will not load from the CDN. After sitting on this for days, I remember I made a change the the .htaccess file but not sure if it's really the cause. ...
Richard Testani's user avatar
9 votes
2 answers
6k views

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 ...
Cave Johnson's user avatar
1 vote
0 answers
874 views

127.0.0.1 as referrer url

I have written some code to my website that shows some information about online users to admin user. one of these information was the host of referrer url of the user. I saw some 127.0.0.1 in the ...
Ashkan Mobayen Khiabani's user avatar
5 votes
2 answers
411 views

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 ...
user9993's user avatar
  • 151
0 votes
1 answer
829 views

Setting up GetSimple CMS with Nginx

I'm quite a noob in web, I'd like to setup a Linux(Debian) web server and decided to use GetSimple CMS and Nginx since I've found out that they'd give the best performance by using smallest resources. ...
Tolga Varol's user avatar
5 votes
1 answer
11k views

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 ...
Márton Juhász's user avatar
1 vote
1 answer
571 views

Local site with xdebug enabled is very slow

My situation. I have local site with magento on Open Server, I'm working with Sublime Text 3. Now I'm need to use xdebug (if there is some alternative with breakpoints and ties with IDE, I'm open). ...
mr4eshir's user avatar
0 votes
2 answers
240 views

Running site locally [closed]

Okay, this must be easy. I have the copy of /public_html folder of a website on the local disc. How do I run this site locally? --- Edit 1 --- The site is not static, there are lots of .php files in ...
Ethan's user avatar
  • 3
1 vote
0 answers
764 views

XAMPP - Typing “localhost/my_site/” into URL not working [closed]

Using XAMPP installed on Mac OS X Mavericks, I've got the servers running and I use my Firefox Dev Edition to navigate to "localhost/my_site/". Previously, I've been successful with other folders for ...
adamdesign's user avatar
0 votes
1 answer
1k views

Grant Permission to File Folder

I am making a website, and I want the users to be able to access a file folder. I have a link to a folder. When I do this locally, all works fine. But when I upload it to my site, I get: Forbidden ...
Evorlor's user avatar
  • 214
0 votes
2 answers
2k views

How to fake domain on OS X?

I have added an entry to my hosts file which allows me to have localhost URLs like the following: http://mydomain.dev/~macuser/mydomain/index.php But I would like to somehow map this host entry to ...
Lea Hayes's user avatar
  • 459
3 votes
1 answer
1k views

WAMP: Properly directing image paths on local server

I'm using ExpressionEngine to build a site, and have a development version running locally via WAMP. Within the root "www" folder, I have an "ee" subdirectory that acts as the root of the development ...
nickpish's user avatar
  • 275
1 vote
0 answers
1k views

Apache 404 Issue after upgrading from Mavericks to Yosemites

Good afternoon fellow StachExachangers, Background story: I have recently upgraded my macbook pro from Mavericks to Yosemites, everything went well except my local development environment got ...
S01010011's user avatar
0 votes
1 answer
2k views

how to map a file path to a ip address

I want to map a path to a domain and the most easy way i can think of is to try to map a path a ip and map that ip to a domain in the windows hosts file.But i don't know how to map a path to a ip.
Conor Groco's user avatar
1 vote
1 answer
1k views

Mapping a path to a domain on a local server

I am hosting a local web server for testing using EasyPHP, but I want to map a path to a local domain. For example, c:/www/Blog to blog.app or c:/www/CMS to cms.app. I have tried searching on Google ...
Conor Groco's user avatar
3 votes
1 answer
61k views

Forbidden 403 for js file on localhost?

apologies if this isn't the right place to post this. I posted it on Stack Overflow and a user suggested I put it here. Anyway, I've looked all over google and the site and none of the solutions I've ...
MarvinLazer's user avatar
5 votes
3 answers
12k views

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 ...
Charlie74's user avatar
  • 201
5 votes
1 answer
3k views

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. ...
Hoytman's user avatar
  • 459
1 vote
1 answer
1k views

How does my server validate my email address

I am attempting to send emails from my website (localhost, test and live) and I am finding that only a fraction ever reach their destination. One of the problems may be that my web server is not ...
Hoytman's user avatar
  • 459
0 votes
1 answer
130 views

Apache - How to extend localhost scope e.g. to other drives?

In Apache httpd.conf file I can set the DocumentRoot value. After setting this, if I view "localhost" in a browser, I can see the folders and files this given folder contains. I cannot "speak" PHP ...
user3022924's user avatar
2 votes
1 answer
4k views

Videos from Youtube/Vimeo not displaying in iframes

I was giving a webinar about HTML today in Brackets. When showing how to use iframes, all my students managed to insert Google Maps using iframes but no one was able to make the YouTube and Vimeo ...
curious's user avatar
  • 121
1 vote
1 answer
2k views

How to forward real .com domain to XAMPP subfolder using httpd-vhosts.conf?

I am trying to emulate some Google Apps app installation functionality and in order to effectively debug it, I need it running on my local Windows 7 machine (using XAMPP). I am behind a router and I'...
Dzhuneyt's user avatar
  • 193
0 votes
2 answers
5k views

Can't view the website on the LAN stored on XAMPP server

I'm trying to access website located on XAMPP server on my other computer located on the same LAN network. I am able to see welcome screen of XAMPP server, i.e., 192.168.0.22/xampp/ but when I am ...
Okrx's user avatar
  • 11
0 votes
1 answer
1k views

Google Analytics source

In my Google Analytics dashboard I have below referrer, can you please tell me where these came from? localhost:16114 / referral localhost:22218 / referral Is it that someone trying on their system ...
MS_Freak's user avatar