cancel
Showing results for 
Search instead for 
Did you mean: 

How access stm32 LWIP webserver by name

clock.1166
Senior

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

1 ACCEPTED SOLUTION

Accepted Solutions
Andrew Neil
Evangelist III

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...

View solution in original post

4 REPLIES 4
Andrew Neil
Evangelist III

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...

clock.1166
Senior

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

Andrew Neil
Evangelist III

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

clock.1166
Senior

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