I am using Rabbitmq, and i would like to connect to rabbitmq server via domain name instead of IP.
is there any way?
thank you.
But if you have the domain name, you can always obtain the IP address.
Related
The application is running on the Payara server.
On the Grassfish server administrator screen, the domain is set to.
It can be accessed by the domain without any problem.
I have a question.
If you access the application from its IP address, you can connect without problems.
If you access the IP address directly, you do not know how to redirect it to the domain.
Could you help me?
You have to create an type A record DNS record which points your domain to your server's ip address.
You can change the records usually in some kind of admin gui at the provider where you registered the domain.
Reference: https://en.wikipedia.org/wiki/List_of_DNS_record_types#A
I am new to Amazon Web service. I created an Ubuntu 16 instance with AWS. Installed Apache and restarted the service. But still I am unable to figure out how to access the start page from a browser. Which IP address should I use? Public ip or elastic ip? Also do I need to change any configuration file? Thanks.
You need to use the public IP address, depending on your usecase you can even use an elastic IP address.
However you need to configure your security groups in order to access the web page.
Go to your security groups
Select the relevant security group
Add inbound rule to port 80 (TCP)
Then you will be able to access the page. Please refer this guide for more information.
You can use public ip / public DNS. These both will change upon restart of an instance. Elastic IP is useful when you want your IP address to be persistent. e.g. To make an entry in your domain DNS records.
Make sure your default site is pointing to correct directory as you are going to access using IP address.
If your instance is in VPC then it must be in public subnet. (subnet with Internet Gateway route attached)
I have 3 sites hosting on a server with same ip. I am using cloudflare but some sites are able to find the server IP using "direct connect IP" Is there a way to disable it ?
Sounds like a P2P or gaming app on your server is broadcasting your IP. See if it can be configured to broadcast your FQDN instead.
I'm a newbie to WCF.
I learnt that in order to address a WCF Service in my local network server, I have to set a baseAddress to the IP Address of my local server.
But what happens if my Internet Service Provider works on a Dynamic IP approach, as I understand it all IP Addresses of my local network machines can change over time, what do you suggest me to do?
Your base address is currently something in the format of: http://127.0.0.1:8734/Myservice.
You could try http://Domain.MyLocalServerName:8734/Myservice the networks DNS server should resolve the request to Domain.MyLocalServerName into the current IP address.
Link to Get a Hostname from IP Address.
Can anyone confirm or deny that it is possible to set an IP address as a host header on IIS 6.0?
I have seen others on forums that claim to have made this work however I am having no luck with a "Bad Request (Invalid Hostname)" for reply.
I believe you can assign a website to different IP addresses, if your server has multiple addresses. However looking at our server, its assigned to the local network IP address, not the internet IP address. I don't think what your asking can happen since the IP address is not sent as part of the HTTP request. The only way I think it would work is if you have your router/firewall redirect different IP address requests to different ports on the web server, then you can bind your sites to the ports instead of the host header.