You can change your domain name using the following command in the terminal
sudo nano /etc/hosts
change 127.0.0.1 to localhost instead of ude in your case
Update DNS settings with sudo dscacheutil -flushcache
Now rails server will now work with http: // localhost: 3000 /
You can also change it to whatever you like, for example
add a line to 127.0.0.1 www.rubyrails.com
and update your DNS setup with sudo dscacheutil -flushcache
Now the rails server will run at http://www.rubyrails.com rails server
supar source share