rybo
Posts: 6
Joined: Tue Apr 19, 2016 9:59 pm

Create a term to use in browser so you dont need to remember

Wed May 25, 2016 10:27 pm

I have setup my pi3 as an access point with a static IP address, is there a way to be able to type in a term into the browser instead of having to remember the ip and type it in everytime. I would like the mobile browser to either just automatically connect to the ip or type in like "go" or something simple to access the pi from a mobile device..

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Create a term to use in browser so you dont need to reme

Wed May 25, 2016 10:32 pm

A bookmark?
There are 10 types of people: those who understand binary and those who don't.

rybo
Posts: 6
Joined: Tue Apr 19, 2016 9:59 pm

Re: Create a term to use in browser so you dont need to reme

Wed May 25, 2016 10:34 pm

Ya I thought about that but this will be up to the end user to do so they will have to enter the ip to begin with which I would like to do away with.

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Create a term to use in browser so you dont need to reme

Wed May 25, 2016 10:48 pm

rybo wrote:Ya I thought about that but this will be up to the end user to do so they will have to enter the ip to begin with which I would like to do away with.
You could change the hostname, so they would type in:
http://<hostname>.local
And that hostname is anything you want it to be.
Last edited by kusti8 on Thu May 26, 2016 11:09 am, edited 1 time in total.
There are 10 types of people: those who understand binary and those who don't.

scotty101
Posts: 3958
Joined: Fri Jun 08, 2012 6:03 pm

Re: Create a term to use in browser so you dont need to reme

Thu May 26, 2016 6:23 am

Put the URL/IP address on to a QR code so that the mobile user can just scan the QR Code and it will open in their browser.
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Create a term to use in browser so you dont need to reme

Thu May 26, 2016 7:58 am

If your Pi is acting as Access Point already either setup a captive
portal or create a fake TLD like ".local" with the help of Avahi
or dnsmasq and people can connect to "raspberrypi.local"
directly.


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

Return to “Networking and servers”