I'm sorry for maybe stupid question and my English grammar)
I'm software developer and I started my little startup.
Now I have users from USA, Israel, Russian Federation etc...
And I have 1 problem.
Now in Russian Federation started block Amazon IP's because Telegram application.
And now users from Russia cannot see my website and use my mobile app because my API and website use Amazon servers (EC2)
My question is:
If i will run additional server in another hosting provider (in Germany or in Russian )
Can I on DNS level add 1 more A record?
Or how i can to redirect user by country?
For example :
If user A coming from Russia - this request going to Russian server, another to Amazon.
Again - I'm software developer and know nothing about DNS. So sorry if I asked something stupid)
You probably need something more than just DNS records. Such as a load balancing proxy.
Have a look at nginx https://www.nginx.com/ for instance, it could be part of a solution for you.
Redirecting viewers to other site based on country geoip
Related
Searched the web and unable to find a solution. I have an umbraco site using IIS to host on a Windows server. Any ideas on approach to block users accessing site outside the UK? Htaccess approach would be too slow.... thank you in advance!
That's quite hard to do accurately, as you could have someone based in the UK using a European network provider, which means that they might appear to come from say Holland instead of the UK. It's also possible for people to spoof their location fairly easily if they really want to get at your site.
As Lex Li mentions there are plenty of commercial databases and tools for looking up a user's location, but the accuracy of these varies considerably, not to mention the fact that some of them only support IPv4. Any of these options are going to be slow though, as you'll have to check on every request. You also have to make sure you keep the databases up to date.
Another option would be to proxy your site through something like CloudFront or CloudFlare which both support blocking traffic by country.
I am little new to web development. I have the following questions to be answered. Currently I am developing a Social Network website with my team. All we want is, we need to register our website domain name with ALL THE DOMAIN EXTENSIONS AND COUNTRY CODES AVAILABLE IN THE WORLD. (BEFORE SOMEONE GET)
eg: www.example.com, www.example.net, www.example.org, www.example.us, www.example.travel, www.example.lk, www.example.tv, www.example.co.in etc...
(How I realized this, one day I tried to search any available facebook domain extension (facebook.tv, facebook.co.nz like that) but non was available..!)
I tried to buy our domain names via some DNS registration websites, but when we are buying such a large number of domain names and extensions for at least 5 years of period, the PRICE WAS VERY VERY VERY HIGH..!
So these are my questions.
1) Can we create and run our own domain name server? (only for our website)
2) If we can, are there any place to register?
3) How it would be cost? (any license or registration fees and hardware cost)
4) Are there any service available for this purpose for a small price?
Thank you very much..!
1) Can we create and run our own domain name server? (only for our website)
Answer : You can run your DNS(Domain Name Server), but you need to purchase Domain from Domain Registrar.
2) If we can, are there any place to register?
Answer : Domain registrar is only the place to Register.
3) How it would be cost? (any license or registration fees and hardware cost)
Answer : If you wish to become Domain registrar,then it is very expensive affair and its not our cup of tea. Still you may visit following URL.
https://www.icann.org/resources/pages/accreditation-2012-02-25-en
4) Are there any service available for this purpose for a small price?
Answer : There are no service available at low cost.
how to setup two web server one from Asia and one from USA so that whenever request comes in it's should go to nearest server?
You are describing building your own CDN and it's not a simple task that can be answered in one paragraph. This document describes one way to do it using bind and GeoIP (and some other tools.) http://blog.unixy.net/2010/07/how-to-build-your-own-cdn-using-bind-geoip-nginx-and-varnish/
I think you should get the client's geographical location based on its IP (this tool could help), then use a tool like this to determine the distances from its location to yours (Asia and USA) and finally redirect the client to the nearest one.
The last step is backend-dependent, i.e Apache, Nginx, Node.js, etc.
I think Apache has some mods (mod_geoip, mod_geoip2).
And here are some Node.js modules (geoipcity, node-geoip).
I hope it helps you.
Sorry but I cannot publish more than 2 links because of my reputation :/
If you had the IP of the geographical location using the tool stated by Sam, you could use an Amazon EC2 and there cloud services to host a web instance with static IP endpoints tied to your servers. Then you could test whatever you want.
Hope this helps!
Good afternoon,
Recently websense bot (or employee) scanned my website.
Let's start with that my website is dedicated to really small group of ppl, in specific country. And so before that i had regional filter which blocked them. I also heard that they dont really have good opinion (In the past, these policies have been criticized because it can block innocent websites or content protected by free speech). But im not sure if is that enough...
I wanted to rangeban their ips, the problem is i cant find any lists with it...
Am i safe with only regional blockade?
You can try searching ARIN or RIPE, but neither it nor regional blocking cant protect totaly. It can be bypassed by using proxy servers or vpn in your specific country.
If group is really small and your website is really confidential, try SSL client certificate authentication.
I recently bought a new web server 2008 for our company and require a FTP Hosting site that allows customers to upload files and host websites from our server, The site must have the shopping basket / Monthly rates built in.
If I purchased the correct template that is designed for hosting, How do I get it to work with the web server independently ? (e.g. Creating sub domains, user directories, so on)
The services should be exactly like as this link : https://www.godaddy.com
I have all the equipment & software
How do I do this ?
I don't mean to cause offense, but it sounds like you're way in over your head here.
From the sound of it, hosting websites isn't your company's primary business. If you're the guy in charge of setting up a hosting service, and you're on here asking "how do I set up a GoDaddy clone?", the end result is going to be very upset customers.
Stick to your core competencies, or at least hire a professional who has set this sort of thing up before.
You spend a lot of time and money developing software that provides that functionality in a manner that a potential customer would go somewhere else.
You can install software like CPanel and others that make managing server functionality a lot easier. You can try third party shopping basket software but you may find that it is too generic for your specific needs, and again there will be integration software development to do anyway.