I have set up 3 views in Analytics
Standard view
An 'Exclude IP' view which filters out IP's from several internal IP addresses, using an individual Exclude filter for each IP address
An 'Include IP' view, which I am trying to use to include traffic only from several IP addresses.
The logic behind a view dedicated to internal IP addresses is as the site in question processes orders over the phone on behalf of customers through the website, which we want to track separately.
I have created 3 filters on my Include IP view, each with an Include IP 123.456.789 but it's not actually showing any traffic at all.
How do I create a view to show traffic only from several specific IP addresses, and no other traffic?
Related
I want to host multiple sites with different domains on a single IP address. Shopify for example says you need to set the A record of your domain to 23.227.38.65 . This IP address is the same for all Shopify stores. When I goto the IP address directly I get Cloudflare Error 1003: Direct IP access not allowed. How do companies host multiple sites with different domains onto a single IP address with Nginx for example?
And how does Shopify distinguish the request with a direct request and a request from my store? Only the domain name?
I am getting a netflow traffic feed, I need to identify the application associated with the IP.
Is there any kind of global database that I can use map the global IP with the application it is used to serve?
Ex: IP A for Amazon Prime
IP B for Amazon WebService
IP C for Amazon Shopping
All IP A,B and C are owned by Amazon.
There is no public DB that has that info in that I am aware of. AS number gets you close, but not the detail on which exact service it is contacting. There maybe a way to build a list based on additional netflow intel, like proto or port. If you do discover a more detailed list or wanted to create one manually or part automated, you could create a TrafficGroup for group of IP's you have id'd. Here is the view I get on my home network with Amazon ASN filter
enter image description here
Why is a website assigned the same ip address each time?
Discuss with a suitable example whether a server can be assigned two different IP addresses.
Would appreciate some help in these two questions.
Thanks
Question #1:
Short answer: websites are assigned the same IP address so that Web clients will send requests to the proper system.
Long answer: Web clients rarely connect to servers using IP addresses directly. Instead, clients use domain names like www.google.com. DNS software then maps the name to the address.
Thus changing a Web server address should be easy - just change the name mapping. But for performance reasons, name mappings are cached. So if the mapping is changed, some caches will have the old mapping for a period of time (called the Time To Live, or TTL). So changing a Web server address isn't trivial.
Question #2:
There are a number of circumstances where a server can have more than one IP address:
The server is hosting multiple VMs. Each VM has its own IP address.
The server is hosting websites for multiple companies. Each website has its own IP address.
The server is doing routing between two subnets. It will have separate IP addresses for each subnet it is on.
I have our customers iso generated ip addresses where I like to do some analysis to see where our most customers are accessing our site.
I tried to do api calls to
http://ip-api.com/<ip address>
to retrieve the state where the ip address generated but there are over 4 million ip addresses to process and this will take some time.
Are ip addresses designated by State in the US? If first octets are designated to the states, I can then write a script to parse out the ip addresses. Other than api calls to determine the location of the ip address?
I recommend using something like Maxmind that can get the geo-location(city,State) of the IP addresses. They have an API that you can implement into your code to find the location of all IP's in a database.
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 ??