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.
                103 questions
            
            
            
                0
            
            votes
        
        
            
                2
            
            answers
        
        
            
                60
            
            views
        
        
            
        Best way to protect a directory outside of root directory?
                    My document root path is the following:
/Users/myname/Sites/
I've created 2 virtual host, like so:
<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot "/Users/myname/...
                
            
       
        
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                373
            
            views
        
        
            
            
        Caddy error on https://127.0.0.1/ or sub1.localhost
                    So, I have this Caddyfile
{
    local_certs
    debug
}
* {
    respond "Hello, Default! {host}"
}
and this docker-compose.yml
version: "3.7"
services:
  caddy:
    image: caddy
...
                
            
       
        
            
                1
            
            vote
        
        
            
                0
            
            answers
        
        
            
                96
            
            views
        
        
        How To Configure Local Server Using Cloudflare Or Ngrok For Local App Development?
                    I am working on a shopify app using the node template in order to build a custom discount experience. I have setup my app locally and set up hosting using Fly.io. The problem I am having is that the ...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                95
            
            views
        
        
            
        How to access Windows XAMPP localhost website using Python
                    I'm using XAMPP on Windows to work on a new version of my website. I have modified the Windows hosts file and the XAMPP Apache httpd-vhosts.conf file so that my browsers access the version of the ...
                
            
       
        
            
                2
            
            votes
        
        
            
                2
            
            answers
        
        
            
                85
            
            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 > ...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                140
            
            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 ...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                966
            
            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 ...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                163
            
            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 ...
                
            
       
        
            
                4
            
            votes
        
        
            
                2
            
            answers
        
        
            
                4k
            
            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 ...
                
            
       
        
            
                0
            
            votes
        
        
            
                0
            
            answers
        
        
            
                46
            
            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 ...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                2k
            
            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;
...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                330
            
            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
 ...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                810
            
            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 ...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                2k
            
            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 ...
                
            
       
        
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                31
            
            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 ...
                
            
       
         
         
         
         
         
        