https://linen.dev logo
#help
Title
p

Prasenjit Dutta

06/17/2023, 7:13 AM
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

Kapish Malik

06/17/2023, 8:07 AM
Where is vm/container hosted?
o

Oleg Nenashev

06/17/2023, 8:32 AM
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

Prasenjit Dutta

06/17/2023, 4:10 PM
@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

Oleg Nenashev

06/17/2023, 4:20 PM
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

Lord Gideonel Robert

06/19/2023, 2:55 PM
How about NgineX ? I mean it's a good tool for reverse proxy tho.
🙌 1
p

Prasenjit Dutta

06/20/2023, 11:43 AM
@Lord Gideonel Robert, will see, how that can be used, I have to explore it a bit
l

Lord Gideonel Robert

06/21/2023, 12:28 AM
@Prasenjit Dutta you can look at this

https://youtu.be/JKxlsvZXG7c

And

https://youtu.be/oykl1Ih9pMg

They're very helpful.