<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Implementing my Local Webserver - a frustrating, yet instructional story.</title><link>/members-area/personalblogs/b/blog/posts/implementing-my-local-webserver---a-frustrating-yet-instructional-story</link><description>I&amp;#39;ve long harboured the dream of remotely monitoring the temperature in my greenhouses, but have been put-off by the need to run cables, or invest in relatively costly WiFi shields for my Arduinos. I&amp;#39;m sure there are other solutions, but let&amp;amp;...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Implementing my Local Webserver - a frustrating, yet instructional story.</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/implementing-my-local-webserver---a-frustrating-yet-instructional-story</link><pubDate>Tue, 18 Dec 2018 00:07:01 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:74b9bf16-02d6-47e6-b7e2-1afd5e54bf14</guid><dc:creator>Gough Lui</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;If you use a decent router, and the DNS is supplied by the router, you can set a static binding on the DNS server on the router to point a name to a fixed IP (e.g. &amp;quot;databox.lan -&amp;gt; 192.168.0.99&amp;quot;). Some routers are nice and will use the advertised computer name in the DHCP options and register a local entry for the computer name and IP binding into the local DNS server - this is not always the case though.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The reason that you might be able to use the machine name on a computer (e.g. running Windows) to resolve to the server IP is that there are several disjoint IP address resolution systems which most operating systems try - this includes:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;DNS (normally used first, should work globally)&lt;/li&gt;&lt;li&gt;NBNS (NetBIOS name service - this is used for detecting network shares locally)&lt;/li&gt;&lt;li&gt;mDNS (also known as Bonjour, used in local networks to detect devices with services)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Chances are, if the server in question has Windows File Sharing style shares (SMB shares), then its name is resolvable via NBNS. But most regular devices don&amp;#39;t use NBNS or mDNS, especially embedded devices, so they will not be able to find the server as you don&amp;#39;t have a DNS binding for it.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Static IPs make thing easier ... as it won&amp;#39;t rely on the DNS being operational to make the connection. Although it isn&amp;#39;t as flexible, I still tend to use it in my own projects, although I do also set up static DNS bindings knowing that my particular router supports doing so.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;- Gough&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=6136&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Implementing my Local Webserver - a frustrating, yet instructional story.</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/implementing-my-local-webserver---a-frustrating-yet-instructional-story</link><pubDate>Mon, 17 Dec 2018 22:03:22 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:74b9bf16-02d6-47e6-b7e2-1afd5e54bf14</guid><dc:creator>ntewinkel</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hooray!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Glad you got it all figured out.&lt;/p&gt;&lt;p&gt;That upper/lowercase thing has bit me more than once too.&lt;/p&gt;&lt;p&gt;I guess if I were more disciplined in only ever using lowercase names things would go a lot more smoothly.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;That&amp;#39;s a really good idea using a local NAS as a webserver!&lt;/p&gt;&lt;p&gt;I never put that 2+2 together but it makes perfect sense that they would be computers.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have a Western Digital &amp;quot;MyCloud&amp;quot; that I&amp;#39;m only using for backups right now, but supposedly it can do all kinds of other fun things, including being a media server. Maybe webserver is on that list too.&lt;/p&gt;&lt;p&gt;I should look into that some day, you know - after the other 287 projects on my to-do list are completed &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-74b9bf16-02d6-47e6-b7e2-1afd5e54bf14/contentimage_5F00_3.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;m glad my sample was able to help you out!&lt;/p&gt;&lt;p&gt;I still need to try out your updates that allow multiple lines in the graphs &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-74b9bf16-02d6-47e6-b7e2-1afd5e54bf14/contentimage_5F00_1.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Cheers,&lt;/p&gt;&lt;p&gt;-Nico&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=6136&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>