Top "Hosts" questions

A `hosts` file is used to map hostnames to IP addresses on a TCP/IP-enabled computer.

How to create subdomain in Laravel dynamically?

In my Windows/System32/drivers/etc/hosts, I have this: 127.0.0.1 localhost 127.0.0.1 site.dev 127.0.0.1 *.site.dev In my xampp/apache/conf/…

php apache laravel subdomain hosts
Fix "invalid host header" in Angular

I have an app in Angular v4 which have to change the scss dependong of the url of access. For …

angular url hosts
How to get a virtual host to work in OS X Lion?

I'm trying to set up a virtual host on my Mac OS X 10.7 Installation. I'm using VirtualHostX to manage my /…

macos apache .htaccess virtualhost hosts
DNS redirects tracker.thepiratebay.org to 127.0.0.1

I tried pinging "tracker.thepiratebay.org" and for some reason the DNS returns 127.0.0.1 I get 0% packet loss, but, obviously, it …

dns hosts tracker
Force fact-gathering on all hosts

I'm sitting in front of a fairly complex Ansible project that we're using to set up our local development environments (…

ansible limit hosts ansible-facts
Forwarding only on a single port 8080 to localhost (windows) possible?

I know how to set up a local webserver using xampp on windows... I enter my alias and target on …

windows portforwarding hosts
Run my php files from outside htdocs

I have my xampp installed and running sites from the htdocs folder. I want to create a website directory in …

php apache virtualhost hosts virtual-hosts
Windows Batch to add a record to hosts file

I need a batch file to add a record to hosts file in windows, however I do not need just …

batch-file hosts
Using System Hosts file for Android Emulators

I having problem in using my system hosts file details in Android Emulators. I have my website (www.example.com) …

android emulation hosts
python - get hostname values from each line /etc/hosts

I have a cronjob that uses the AWS SDK (PHP) to update the /etc/hosts file that writes the current …

python hosts