I’m developing a Rails 3 app locally on my Mac. I want to test it locally with fake URLs that support subdomains, e.g. http://blah.example.com and http://blah2.example.com. How can I set this up?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Run from your favorite shell and terminal:
Add this in a new line:
Press Ctrl+X to save.
Make sure you do NOT delete the lines that are already there!