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
48 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; ...
0
votes
0answers
18 views

Rewrite local file links

I have *.html files accessible through file:// protocol in browser. Within these files are links to resources, like <img src="file:///c:/users[...]pic.jpg">. This all works fine for ...
2
votes
1answer
35 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
1answer
67 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
1answer
194 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
1answer
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 ...
3
votes
3answers
736 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 ...
1
vote
1answer
63 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 ...
2
votes
1answer
27 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?
1
vote
2answers
336 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 ...
1
vote
2answers
155 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?
2
votes
1answer
212 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:...
1
vote
1answer
929 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 ...
2
votes
0answers
372 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 ...
1
vote
2answers
483 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 ...
3
votes
2answers
726 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 ...
1
vote
0answers
374 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 ...
6
votes
2answers
3k 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. ...
1
vote
1answer
9k 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 ...
2
votes
0answers
791 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? ...
3
votes
1answer
296 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. ...
2
votes
2answers
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. ...
9
votes
2answers
5k 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 ...
1
vote
0answers
713 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 ...
5
votes
2answers
346 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 ...
0
votes
1answer
696 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. ...
5
votes
1answer
10k 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 ...
1
vote
1answer
499 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). ...
0
votes
2answers
197 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 ...
1
vote
0answers
737 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 ...
0
votes
1answer
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 ...
0
votes
2answers
1k 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 ...
3
votes
1answer
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 ...
1
vote
0answers
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 ...
0
votes
1answer
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.
1
vote
1answer
913 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 ...
3
votes
1answer
59k 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 ...
5
votes
3answers
11k 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 ...
5
votes
1answer
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. ...
1
vote
1answer
955 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 ...
0
votes
1answer
123 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 ...
2
votes
1answer
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 ...
0
votes
1answer
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'...
0
votes
2answers
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 ...
0
votes
1answer
977 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 ...
2
votes
2answers
468 views

Problems with phpmyadmin

I already worked a lot with wampserver but it's the first time i have a problem with it. After I downloaded it wanted to create a database in phpmyadmin, and then it says: "Forbidden. You don't ...
4
votes
1answer
370 views

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 ...
1
vote
0answers
4k views

MVC4 App opens with directory listing and gives a 404 for any direct URL's entered in the browser

I've just deployed a previously (on my local IIS) working MVC4 app to IIS 7.5 on the dev server. After tweaking this and that - one knows how these things get forgotten - the app finally launches, but ...
1
vote
1answer
3k views

Trying to host server for external access - Apache, VirtualBox & Portforwarding

Banging my head on the wall at this stage... Trying to host my Apache site on Ubuntu 12.10 with VirtualBox. Running Windows 8 host. Things I've done: Ensured Apache is listening on ports 80, 443 and ...
2
votes
3answers
6k views

How to handle CNAME host redirect to virtual directory?

I have an internal website and virtual directory http://server2012/logs. I created a CNAME on my DNS server as LOGS -> server2012. I would like to set it up so that http://LOGS redirects to http://...