Hello All, do you know if my wiremock is hosted i...
# help
p
Hello All, do you know if my wiremock is hosted in a vm/contianer and while accessing/testing i can access it by using <ip>:<port>, is there a way if the ip and the port can be replaced by a domain such as instead of <ip>:<port>/endpoint, testing can be done by using xyz.com/endpoint. is this possible? CC: @Oleg Nenashev Regards,
k
Where is vm/container hosted?
o
There are plenty ways to do that, from the hosts file and embedded Docker/K8s features to a full fledged company DNS. Just look for DNS management for the environment you have
p
@Kapish Malik, it is hosted in docker contianer in openstack cloud @Oleg Nenashev, OK so basically have to set it up like the normal DNS management or host file setup.....i was thinking if there is some other solution available in wiremock.... thanks a lot for the confirmation...appreciate it!!
o
You are welcome. DNS is managed by external services for all the apps in the modern software ecosystem. With all the requirements and trust chains
🙌 1
l
How about NgineX ? I mean it's a good tool for reverse proxy tho.
🙌 1
p
@Lord Gideonel Robert, will see, how that can be used, I have to explore it a bit
l
@Prasenjit Dutta you can look at this

https://youtu.be/JKxlsvZXG7c

And

https://youtu.be/oykl1Ih9pMg

They're very helpful.