>Check there is a period
my-server is a valid URL within my local network.
There is no reason to not allow a TLD.
It might be unusal, but those days everybody can create a own TLD, and there is no restriction to use it plain.
just my EUR 0,02
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]