I have been writing a web app library extension library (dll). What will be the best way to license it?
Should I license by the domain (URL), server processor, IP ?
Too vague for me. You need to tell me more including what you think you should do, how customers will use it, what's the reason someone would use in multiple websites, etc.