can not able to change ip address with domain name - wordpress

I want to replace my ip address with my already bought domain name. How can I do so?
As I'm using amazon EC2 Instance. I changed record of my ROUTE S2 to point to my ip. When I open my website, it's opening but when I click on any menu, domain name changed to IP again.
I tried changing my wordpress index.php file. I changes IP address with my domain name. It's not solving the issue..
Any Solution Friends?

Yash,
You must access the domain's panel and look at change DNS things (you will need to know your nameservers for this ~~ contact your hosting provider). Or you can simply try to edit the DNS records, in specifically the A one, pointing to your hosting IP address.
If you have any doubt else, please let me know.

Related

My IP is Blocked by Cpanel how to add my IP in Whitelist?

How can I put my IP in whitelist that I won't face BlackList in Cpanel anymore?
I tried following way but no success, I mean still my IP is in blackList
In cPanel, find the "Databases" section.
Select "Remote MySQL".
Enter the IP address you wish to whitelist in the field provided.
Click "Add Host".
I really appreciate your advice here.
Regards
You need to add your IP in server firewall allow list but with the cPanel access you can't do it. You will have to contact your hosting provider to add your IP in a firewall allow list.
The steps you have mentioned are used to allow remote MySQL access on an IP address from cPanel.
If cPanel access is getting blocked then you will have to add your IP in server firewall. This can only help you if you have a static IP address.

Can one Domain address point to IPaddress/~username not just pain IP address

I have just one IP address for my server. It has two websites
123.456.789.11/~user1
123.456.789.11/~user2
Can I have two domains pointing to each user separately?
www.domainabc.com --> 123.456.789.11/~user1
www.domainxyz.com --> 123.456.789.11/~user2
I do not wish to append any thing to either of the domain names [ www.domainabc.com/~bigNO ]
Is it possible?
Thanks!
DNS is only concerned with mapping names to IP addresses. It knows nothing about protoocols, or anything else outside of the name www.example.com or the address 123.45.67.89
Most, if not all, web servers understand the concept of a virtual host, so you could configure user1.example.com to be a specific virtual host that then redirects to www.example.com/user1

Assign URL for IP Adress (IP adresses mapping to host names)

How can I change domain name for ip address (192.164.5.19) to www.anyname.com?
Current I made a website and published it by using iis7. It is in the intranet. Now I want to access the website by a domain name and not by ip address.
can anyone help me for with this problem.
Note: The web-server were use is normal PC not a server.
It is up to the administrator of the DNS authorative nameserver for the "anyname.com" domain.
Since this is an intranet application, this would likely be your companies IT department.
You can find out more information about that via a whois search, although for an intranet application it may not be much help. One example: domaintools link
Add the ip adress to the hosts file from the computers who needs to reach the website. E.g. u can do the edit with a batch file.
Path:
%SystemRoot%\system32\drivers\etc\hosts
add line: 192.164.5.19 www.anyname.com

Hosting multiple sites on IIS having same the IP address

I need to host multiple sites for testing on single server with one IP Address over IIS.
Currently i have hosted a website which is mapped directly to IP address means no domain name. i need to host another website on same IP. How can i achieve that? is this possible having
e.g 174.22.12.87 (Site1)
e.g 174.22.12.87 :800 (Site2)
I am confused what to put in Host Name and Site Name ? for single IP Address and to host multiple sites. If i put ip in host name in both websites that look fine but what to put in site names? i think they should be unique?
you can have a look at this link.
https://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/b77cf015-017f-489c-9b5b-65ca4a679392.mspx?mfr=true
If you have the same IP-Address, the port is used used to host multiply sites. So you are right.
The combination of IP, Port, and HostName must be unique.
If you're deciding to always leave HostName blank (referencing things by IP:Port instead of domain) then you still just need the combination of IP and Port to be unique. (i.e. 174.22.12.87:80 vs 174.22.12.87:800)
I believe you're using SiteName to mean the IIS site name, which is just what it shows as within IIS and doesn't impact how you access the site at all.
Don't forget to add new Inbound rule to open your specified port in Windows firewall (server side).

How to stop redirect to default website when IP address is entered in the address bar of the browser?

I have multiple websites hosted on our server. When someone types the IP address in the address bar of the Browser It redirects to one of the websites hosted on the server. Is there any way by which I can set the default website which is opened when some one types the IP address. Same IP address is being shared by multiple websites.
1 IP address can only bind to 1 IIS Entry. So what you need to do is to pick the IIS entry you want, go the "Binding" section and bind your IP as the binding header.
ex: If your IP is 1.1.1.1 , then in binding header, you put 1.1.1.1, in IP address, you also choose 1.1.1.1.
After you setup this binding, you can browse to 1.1.1.1 and it'll open your site.
Remember to make sure all other sites doesn't have this binding. Otherwise, it'll have an conflict.
All you have to do is leave off the IP address and host name entries, and provided you have only a single website matching that, that site will become the 'default', while your other sites will have specific host name(s) they respond to.
I am not sure, but you may have to add a specific host in the C:\\Windows\System32\drivers\etc\hosts file, giving IP address and its corresponding address, this definitely works from logging into the website where it is hosted, i.e on the hosting server.
For logging from different IP machines, try the same logic - in this case make sure that the gateway is same for LAN.
Let's see what happens in this case ??

Resources