It is possible to display the Frontend Server IP dynamically on a SharePoint Site?


I normally add this to the master page, with a control that spits out Environment.MachineName, or just use <%=Environment.MachineName%>.

Update: I think the machine name is better, since a machine can have several IP's on different NIC's.

  • Thanks for your comment! great idea! But it is possible to use this command without editing the Masterpage? – LaPhi Aug 16 '11 at 8:41
  • You need to edit (or add a custom) the master page to get it to be displayed on all sites/pages. – Wictor Wilen MCA MCM MVP Aug 16 '11 at 9:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.