Jump to content

Recommended Posts



I know that wifi.begin uses DHCP and grabs an IP assigned to the cc3200. my question is, can I convert the IP to a website name instead of just the IP numbers ?


Right now, I am using the simplewebserver example and I get the IP for the device to be

It says to open and see the webpage, type that IP into a browser. But Instead of putting that IP into the browser,is there a way that I could put something like mywebsite.com and still get to the same page on IP ? this is all local, so no port forwarding and no accessing the website from outside the router.




Link to post
Share on other sites

Just local? From a single PC, use a host file. This requires a static ip on the device.


For a network, try checking your router's configuration. It can either map single static IPs to a hostname, or allow mapping a mac address to a hostname. Or allows mapping a mac to a specific DHCP lease, which can then be mapped to a hostname.


From the device, edit the code so that it registers a hostname with the DHCP server. A bit more complex.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...