I changed the dns of my website and i noticed that it still not applied yet but after awhile I opened my website using VPN from other country and the dns was changed to my new server.
How to clear the local internet cache of the internet provider ?
So, a really good way to check if a DNS is updated globally is to use googles DNS checker tool. You can get to it through this link
https://dns.google.com/
Go to that website and type in the url of your website, and make sure that it has the correct IP address.
If that worked, you can be confident it is a problem with your local cache. You can use the google server dns instead of the default server your computer comes with, which will match the server you just checked with the website.
For WINDOWS 10:
Open Control Panel
Click Network and Internet
Click Network and Sharing Center
Click Change adapter settings
Right-click the network interface connected to the internet and select properties
Select and check the internet protocol version 4 (TCP/IPv4) option
Click the properties button
Click use the following DNS server
type 8.8.8.8 for preferred and 8.8.4.4 for alternate (these are the addresses to google dns servers, the ones you just checked with the webstite earlier)
For mac:
Go to system preferences
Select network
Click on advanced
Select DNS
Select the default dns server ip address and click - at the bottom of the DNS servers box
Click on the + sign at the bottom on the DNS servers box and enter
8.8.8.8 and 8.8.4.4
Click ok
Click apply
Credit:
https://www.windowscentral.com/how-change-your-pcs-dns-settings-windows-10
https://www.my-private-network.co.uk/kbhome/how-to-set-google-dns-on-your-mac-os-x-computer/
Google is generally very quick in updating their DNS, so it should be more than a few minutes till your server is up and running with the new DNS.
Related
I need to use a host name for my internal tools so I made a request the DNS guy to add the "oneplan.dev.ad.trw.com" in the DNS server configuration.
After received that he did this:
But when I access the "oneplan.dev.ad.trw.com" I get the IIS welcome page:
And if I specify the port: oneplan.dev.ad.trw.com:6202. The page is displayed correctly.
What I need to to in order to make it work without the port in the URL? I can't use the default port 80 because I have multiple application on the same server.
You have two options:
Option 1 - Explicit Host Names
Make sure none of the sites have a wildcard binding on port 80 - ensure they all have a unique Host Name specified. If they look like the following, you must added configure an explicit Host Name (e.g. dev.ad.trw.com or *.dev.ad.trw.com) under bindings:
Once this has been completed, you should be able to change the port of your new site from 6262 to 80 and IIS will route port 80 traffic to the appropriate site based upon Host Name.
Option 2 - Add IP Address to Network Card
In order to host 2 sites on port 80 on the same machine without explicit Host Names as suggested in Option 1, you need a new IP address added to the network interface. I'm not sure what version of windows you're running and whether your server has the windows GUI installed. If it does, just go into the network settings for the card and follow the instructions below. It's a fairly straight forward.
First open the properties for the network connection, highlight the IPv4 option and click properties:
On the properties page write down the IP Address and the Subnet Mask and then click the Advanced button on the bottom right (got cutoff in the screenshot:
On the advanced properties page popup, click Add in the IP address section and enter a new IP address with the same 3 octets, and any number between 20 and 255 for the final octet (eg. 10.27.233.121 based on your screenshot above). For the subnet mask copy the subnet form the other IP address(es) configured on the machine (e.g. 255.255.255.0) and click ok to save the settings...and continue clicking OK until all of the properties dialogs are closed.
Next go into IIS Manager, click on each of the sites on the server and select Bindings from the Actions panel on the right side. Make sure all sites are bound the original 10.27.233.21 IP address like the site in your screenshot. If you see any sites with a wildcard "*" for the IP Address, modify them to the 10.27.233.21 as well. Once that's done, open the site bindings settings for you site (same as your first screenshot) and configure its bindings the new IP address 10.27.233.121 and change port 6202 to port 80.
To test that the configuration is working do the following (do this on the server): (1) launch Notepad with administrate privileges, (2) click open, (3) paste the following path into the "File Name:" textbox C:\Windows\System32\drivers\etc\host, (4) click ok to open the file, (5) hit enter at the bottom of the text file and paste the following - [IP Address][Tab][DNS Name], and (6) save the file:
10.27.233.121 oneplan.dev.ad.trw.com
If the site loads, you're all set. Delete the line we added to the Host file in the last step, and tell you server guy to modify the DNS record for oneplan.dev.ad.trw.com to point to 10.27.233.121.
open c:\windows\system32\drivers\etc\hosts in notepad as administrator, make an entry:
10.27.233.121 oneplan.dev.ad.trw.com
go into a command window (windowskey+R to open run box and enter cmd) and type ipconfig /flushdns
Congrats, you've just overridden the DNS for that domain address and your computer specifically will always point to the new IP that you defined in the hosts file. Remember to clear it out once your domain is done propagating (your dns guy should have put an A record in the DNS handling the server)
So I have a website that I created locally but I would like to have other team members access it. I would also like to test my site using my iPhone for testing purposes. Th thing is when I check the Xip.io (LAN only) option (shown in the image below) a URL is displayed in the empty box below it. The problem is that when I use that URL the Xip.io URL in the browser of my iPhone. Nothing displays. Is there an easier way to make my website accessible from other machines locally? Is there a file that I need to edit or are my changes correct?
Thanks
Update
I'm using my internal IP. I can access my site with my laptop but other computers connected to my network cannot access my website. I figure that maybe I need to make a change to my httpd.conf file?
Found a solution! Since I'm working in OSX
Here are my steps:
Go to System preferences Selected Network
Select Wifi (since I'm connected via Wi-fi)
Clicked on the Advanced button
Click on the TCP/IP Tab
Copy or write down the IPv4 Address:
Then
Go to to PHPAdmin
Select the database tab
Select your database
clicked on the options table
under option_name Change both values (siteurl and home ) in column option_value to the IPv4 Address you copied from System preferences
Opened MAMP Pro
entered the same IPv4 Address in the Host IP Address Field
Restart server
Helped me
I'm not sure if I understood correctly, but you can use the app Fing - network tools on your phone to scan the network and get all IP addresses on it, your computer should be one of them (on regular protection networks).
What I think what happened is that that URL is not resolved correctly on other devices, you are probably giving them your external ip, try to use the app I mentioned, find your computer and attempt to connect to the IP address you find in that app. That IP will be your internal ip address, which is what you need.
I have installed
windows 8
Wamp server
here i have added my local site but as you know i am able to access
http://localhost/test
from the this computer where i have installed wamp the ip address is like=10.0.1.1
now from thei computer i can acess
http://10.0.1.1
but from other computer i can't access this 10.0.1.1 but it's connection is fine i can ping it
thanks
The most likely cause is you're being blocked by the firewall, make sure to add an exception to your firewall exception list to allow the connection.
i solved the problem by disabling the firewall for port 80.
Go to Search on right side of windows.
search "firewall".
open the "firewall with advanced".
go to inbound rules.
click on "new rule".
select the "Port" option.
click "next"
select "TCP" option.
select "Specific local ports:".
type "80" in next text box
click next.
select the "Allow the connection".
click "next".
click "next".
give the name "Port 80 Allow Rule".
click "next".
Note: this is not a secure way. delete this newly created rule when you complete your work.
When I turn off the firewall, I can access my XAMPP website through other LAN computers. When I turn on firewall then I cannot connect to the machine anymore. Could someone tell me what's happening?
my os is windows xp. thanks.
Go to Control panel - > go to Windows Firewall -> then Advance Settings ->
Click Inbound Rules
right Click the inbound rules and select "New Rule..."
select option port and click next
select all local ports or your port number for apache server. and click next
select option allow the connection and click next
next
Give name Allow All Local Port For Xampp
Try This, I hope it will Work for you.
I understand this is an old question and related to Windows XP but now for users using current OS like Windows 10 the option that worked for me is that Inbound Rules Profile could be set to Public for Apache Http Server which is set to Private by default.
The profile could be set in 'Advanced' tab of Apache Http Server Inbound Rules properties as shown below (Properties Dialog box could be opened by Right Clicking on Apache Http Server and select Properties):
Well , first of all, firewall on host is blocking your connection. If you are using Windows firewall or any other firewall You need to make an excaption rule for XAMPP.
So, on computer where is web site hosted go to Control panel-> Windows Firewall and uncheck Don't allow exceptions checkbox. Now open Exceptions tab and click on a button Add program and locate Xampp and Apache. Add them to firewall exception rule.
Maybe you should do this test on some Virtual Machine (VMware, Virtualbox..etc) becouse opening ports and adding exceptions if this machine is connected to Internet is not secure.
In my case, (windows 10 and xampp v3.3.2)
1. Open Control Panel
2. Search for windows fire wall
3. Click Advance setting
4. Click inbound rules
5. Allow all blocked rule in name Apache HTTP Server and mysqld
I have an MVC site hosted on IIS 7. It works fine when accessed from the server itself.
However when I tried to access it from the same LAN as the server's the website wasn't reachable.
Next I disabled the windows firewall on the server and the site was accessible from within the LAN.
I would like to have the firewall enabled AND be able to access the site.
What do I have to enable in the firewall?
Thanks.
Ok, it was an old question, but I just found the inbound rule you need turn on. Hope the screenshot can help others in future.
Win7-firewall-inbound-BranchCache Content Retrieval (HTTP-In)
Try opening the port in Windows Firewall. Go to "Advanced Settings" in the Firewall setup and check the inbound rules and add the port if necessary.
I had the exact same issue, but the firewall in my system is managed by ESET smart security. In my case, I was not able to access the site from my machine with the firewall enabled. I wanted to add my answer so that it helps someone who is facing this issue with ESET.
Initially, I disabled the firewall and accessed the site.
While accessing the site, I checked the ports being used for the connections using "ESET SysInspector -> Network Connections". Found that my site's port was being used by the program "system".
Then I went to ESET's "Advanced setup -> Network -> Personal firewall -> Rules and zones". Clicked on "setup" under "zone and rule editor".
Click on "Toggle application tree view". Then under the column "Application/Rule", expanded "System" and found the rule "Deny communication for System" which was set to "Deny" for "Internet in". I set it to "Allow" for my site's local port and clicked "Ok" all the way out and was able to access my site with firewall enabled.