Skip to main content
Explorer II
January 11, 2022
Solved

How access stm32 LWIP webserver by name

  • January 11, 2022
  • 4 replies
  • 1470 views

Hi,

I've got an stm32H743 webserver with LWIP working ok on dhcp displaying data.

Is it possible to alter the html file on the webserver to be able to access other similar webservers?

e.g. Say I have 10 machines - each with one stm32 webserver attached and connected to the same lan. Can I use HTML/JS to present a menu so that all machines could be accessed from the same initial web page? Is this even possible?

Thanks,

Chris

    This topic has been closed for replies.
    Best answer by Andrew Neil

    To be able to access them by name, you would first have to give them names.

    On the internet, this is done by DNS:

    https://en.wikipedia.org/wiki/Domain_Name_System

    You could possibly use Dynamic DNS (DDNS):

    https://en.wikipedia.org/wiki/Dynamic_DNS

    for example: https://www.noip.com/

    (other providers are available)

    If you're just on an internal, private network, you might come up with your own lookup-table or database to associate IP addresses with names...

    4 replies

    Super User
    January 11, 2022

    To be able to access them by name, you would first have to give them names.

    On the internet, this is done by DNS:

    https://en.wikipedia.org/wiki/Domain_Name_System

    You could possibly use Dynamic DNS (DDNS):

    https://en.wikipedia.org/wiki/Dynamic_DNS

    for example: https://www.noip.com/

    (other providers are available)

    If you're just on an internal, private network, you might come up with your own lookup-table or database to associate IP addresses with names...

    Explorer II
    January 11, 2022

    Thanks.

    Since I am providing the HTML web page - is there any way to do this with my STM32H743? I need a way which does not involve the customer having to install software or is it a major task? (In which case I wont bother - I am too exhausted getting the webserver to work OK!!!)

    Chris

    Super User
    January 11, 2022

    This really has nothing specifically to do with the STM32 or LwIP - it's just standard internet/networking stuff...

    Explorer II
    January 11, 2022

    OK Thanks - looks like its not possible as above without additional items (This will cause the customer problems) which I cannot give because I am only supplying the STM32 webserver hardware.

    Chris