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
2answers
23 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 ...
0
votes
0answers
8 views

How to make a virtual ip across local network only?

Using apache local server.. I'm serving my projects using virtualhosts so that it's easy to work with more than project and see results in my browser using hosts file I'm using my device ip (xxx.xxx....
1
vote
2answers
55 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
53 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
244 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 ...
1
vote
0answers
217 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
455 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
1answer
93 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
280 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 ...
4
votes
2answers
851 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
5k 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
403 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
146 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
852 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. ...
5
votes
2answers
4k 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
585 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
267 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
581 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
5k 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
404 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
61 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
571 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
669 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
883 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
902 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
1k 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
814 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
52k 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 ...
4
votes
2answers
8k 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
703 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
116 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
2k 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
1k 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'...
1
vote
2answers
4k 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
881 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
458 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
352 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
3k 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
5k 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://...
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
2k 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
1k 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
412 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
176 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 ...
5
votes
1answer
10k 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
8k 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? ...