Notifications
Clear all
Run a powershell script when a new domain is added.
Posts: 0
Topic starter
2016-12-02 16:35
Joined: 1 second ago
Id like to be able to run a powershell script to add a binding to my IIS autodiscover redirect site when a new domain is added within CloudPanel. Id use a command such as:?New–WebBinding –Name “HTTP Redirects” –IPAddress “192.168.209.153” –Port 80 –HostHeader?“autodiscover.newclientsdomain.co.nz”
naturally id replace the hostheader with a variable from cloudpanel that contains the clients domain with “autodiscover.” appended.
Is there a way to do this?
Forum Information
- 5 Forums
- 717 Topics
- 3,651 Posts
- 0 Online
- 260 Members
Our newest member: afnan
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed