Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

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.

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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