I have a MacBook Pro running OSX Yosemite 10.10.5 and I'm trying to set it up as a server. I have a Realtek USB WiFi dongle (RTL8188cus) plugged in with the drivers installed, showing up as interface en6. I also have the built-in AirPort on interface en0. I don't care which interface is used, I'm just providing options.
The goal is to allow users to connect to my MBP via WiFi and get an IP address via DHCP. The reason being is that I am running a website on my MBP that I want to share only with people connecting to my MBP directly (via WiFi).
A huge bonus would be having a way that I could assign a hostname to my MBP so that people could visit the website without having to type in the IP address of the gateway (my macbook).
This is not internet sharing! I'm not interesting in forwarding any data or connections.