Skip to main content

Posts

Showing posts from April, 2012

How to configure a local subdomain development with Linux

Note In the following scenario everything is done within one machine. This setup can be recreated with more then one machine as well. Use your imagination! Task I want to have subdomains like static.mydomain or whatever.mydomain . Ingredients any host OS that is capable of running Virtualbox , VMware or your favorite virtualisation software a linux distribution that uses/supplies a small kernel, like Ubuntu server, Fedora without X, Arch or any of your choice, preferably one that you are familiar with. Of course if you are not a linux guru you can  still use a gui, just give enough memory for your guest linux. Setup process have your virtualisation software set up on your host install your linux distro of choice as a guest, it is best to use at least one "Bridged" (my choice) or "Host only" network adapters that every other guest machine can see too if you later need it.  set up your /etc/resolv.conf  file to have your nameservers in the