If you don't have too many machines you can edit hosts file on each one to point myquiz.com to 192.168.1.140, and skip setting up a DNS server which might be a painful experience and open you up to nasty hacker attacks.
If your DNS gets hacked to point, say facebook.com to a hacker IP address you are going to run into serious problems. Imagine what happens if your online banking DNS record gets tampered with....
Computers will first look in the hosts file, then primary and secondary DNS.
Copy C:\Windows\System32\drivers\etc\hosts to your desktop, then open it with notepad. Add the following to the end of it:
192.168.1.140 myquiz.com 192.168.1.140 www.myquiz.com
Copy it back to C:\Windows\System32\drivers\etc\hosts and replace the old one.
If you use a real domain name in your hosts file, you will not be able to access it on the Internet becouse your computer will resolve it to local IP address.
Here is some troubleshooting if you run into problems.
----EDIT-----
In that case you have a few options.
- If your devices are rooted/jailbroken you can still edit hosts file on them, here are the locations
- You can setup a DNS server, which can be a very bad thing if you don't know what you are doing
- Access it via IP address
- Make an app that will access it by IP address and make it transparent to end user (not as scary as it sounds)
If you want to whip up a quick app go sign up for Adobe Phone Gap. You get one private project for free.
Using notepad copy the following code to a file named index.html
<!DOCTYPE html> <html> <head> <meta http-equiv="refresh" content="0; url=http://192.168.1.140/" /> </head> <body> Redirecting to quizz... </body> </html>
Then just upload your index.html to Phonegap buld service and it makes the installers for Android, iOS, Blackberry, WindowsPhone so you get a native experience.
If you want to do more than just a basic app, say you want splash screen, custom icon... check Phonegap Docs
iOS might be a bit more complicated because I think it requires you to sign the app, but I never developed an iOS app so I can't help much. I think you can add it to home screen as an app from Safari, chek here.
I might be getting in too deep, but those are your options, and I think making a Phonegap app is several magnitudes less complicated than setting up a DNS server and making it secure.