Change Your Swagger Studio On-Premise Domain or IP Address
A network administrator usually assigns a static IP address and, optionally, a user-friendly domain name to the Swagger Studio On-Premise VM. You will need to specify this domain name or IP address in the Swagger Studio Admin Center, so that the system knows its own network address. The links in email notifications, in mocks and elsewhere in Swagger Studio will use this domain or IP address.
To specify your Swagger Studio domain or IP address:
Open the Admin Center.
Select Settings on the left.
In the DNS name for this server field, specify the domain name or IP address assigned to this Swagger Studio instance. For example:
swaggerhub.acme.com 10.0.28.208
Note
Do not include
http://at the beginning and/at the end.Correct:
10.0.28.208Incorrect:
http://10.0.28.208/If you run Swagger Studio on VirtualBox in the NAT mode, make note of the host’s listening port that corresponds to the VM’s port 80.
In Swagger Studio On-Premise 1.20.0 and later, specify this port number in the Port name for this server field.
In earlier versions, add this port at the end of the DNS name for this server value, such as
10.0.28.208:8000.
Click Save Changes and Restart.
In v. 1.19.1 or earlier, click Save Changes, then switch to the System page and click Restart Swagger Studio.
Wait a few minutes for the system to restart completely.
If your Swagger Studio domain name or IP address ever changes, make sure to update the DNS name for this server option value, as well as the inbound links to your Swagger Studio instance, such as:
Domain references in existing API definitions.
The Swagger Studio callback URL used on GitHub (see GitHub Integration).
Swagger Studio URLs in your SAML identity provider used for single sign-on.
Calls to the Swagger Studio Registry API and to your API mocks.