In Urbancode Deploy, what is the impact of changing the External Agent URL, from IP to hostname? - urbancode

I have a UCD server, where the External Agent URL is an IP address 9.x. One of the users has requested to change that IP to a hostname, reason being that his agent can't reach that IP because that segment (9.x) is blocked, but they can reach it using the hostname because the agent can use a different route.
What will be the impact to the agents connected to that server if I change the External Agent URL ? Will they need to be updated too ?

I forgot to update before this question. After a discussion with a developer, I found out there is no impact in changing the IP address for the URL. This is transparent for the agents, and they don't need to be updated in any form.
I wanted to provide this update in case someone find it useful in the future.
Regards

Related

IP on blacklist due to IP network listed

My google compute engine's/vps IP (146.148.22.101) is blacklisted on the https://www.uceprotect.net/ list as LEVEL 2. Meaning the network 146.148.0.0/17 is listed not my IP itself - Mine is green. I know it is probably google's job to fix this but I do not know how or where to report this. Microsoft mail servers are rejecting all incoming mail originating from my ip because of this listing.
uceprotect.net suggests to register on whitelisted.org costing 25euros/month. Not going to happen.
Can someone help or guide me in the right direction.
Thank you in advance.
Blacklist screenshot
Why don't you just replace that IP with a different one ? You will have to restart the VM

Banning an ip to visit a particular page

I am making a forum for a project. I wish the users to be anonymous to the public but want to store their ip addresses in my database so that I can block them if they pass any derogatory remarks or vulgar content on the forum. Once a user is blacklisted, he/she cannot make a post request to the forum. So they cannot post. What are the possible flaws in this project? And how do I come over this solution. Thanks in advance.
Blocking a user by blocking their IP address is not feasible. IP address that users use will change frequently . Even if they don't change, once you block the IP, they will change the IP immediately.
A better way would always be to have users register and then use the account to post anything. But, of course don't show their name or any details in the post. Don't link the user posting the content to any user profile. Only if they post anything which don't meet your posting guideline, just block the user.
You might also need privacy policies and user policies to provide privacy to users, if you are creating that kind of forum.
How do I block an IP address?
You can add this to your .htaccess
If you don't know what a .htaccess file is, it's a file you put in a folder of your website. It's just called ".htaccess". You can put these files in folders, and they will apply to the files of the folder that they are in, and any sub folders. This will only apply to some servers, so you could ask your web host for more information.
Anyway, pop this into that .htaccess file, and replace "x.x.x.x" with a real IP address:
Order Deny,Allow
Deny from x.x.x.x
Deny from y.y.y.y
Deny from z.z.z.z
# repeat these lines as necessary
How well does it work?
How effective this method actually is is hard to define, because ISPs constantly change IP addresses. This is one reason why hosting a website on a home internet connection can be difficult. Also, if someone's IP address is blocked, they could just use a different internet connection or use a VPN.

How to connect a domain to XAMPP

Ok, so I have an ip that works, I bought a domain name as well, how do I configure it so that when I type the domain it points to the ip, I do not want some kind of masked url forwarding as I want you to be able to type for example /img/ and go to that directory.
Any help?
(Edit: Spelling)
May I know what's domain vendor you subscribe, like Godaddy?
You can add the A record which can point to your IP address.
Go to 'Manage DNS' and find existing A record or add an A record,
here is a reference guide like Godaddy:
https://hk.godaddy.com/help/a-19238?lang=en

ISTIO allow all outbound traffic to a DOMAIN

Similiar to this topic I need to allow all traffic NOT to IP, but to a domain.
The domain I want to access is google API https://www.google.com/recaptcha/api/siteverify
Any ideas?
You can allow traffic to a specific URL like www.google.com, or to a domain like *.google.com. See this task.
You can allow traffic to a specific path as well, see this blog post.
Right, I did it with making Service Entry and Virtual entry to google.com.
Not to specific endpoint. Thank you for the help.

New host - 404 Error

I am a newcomer at the web part of programming and I was given a host. I uploaded a simple index.html file with one header(It is correct). If I then try to connect with the nameserver/ip (gotten with PuTTy) , I get an 404 error. I have tried many different stuff about folders , but I could not fix anything
The nameserver IP address is almost certainly not your hosting IP address. The nameserver is the server (probably owned by your host - but possibly an outsourced service) that converts the human readable domain name (such as www.domain.com) to an IP address the computer can connect to (such as 198.252.206.16 - the IP 4 address I get for www.stackoverflow.com). It acts as a giant lookup list of domain names and IP addresses, much like a telephone book or Yellow Pages.
Moreover, as your host will almost certainly be hosting many domains (tens or possibly hundreds) per server, you will need to use a domain name when attempting to connect to your web page - this will be needed for Apache or IIS to know how to route the request/which content to return to the browser. It will do this using the request header sent by the browser when requesting the page. If you are testing locally then localhost/127.0.0.1 will be good enough if you have a single site registered/single set of content in a wwwroot directory (or equivalent). Similarly a virtual server or dedicated server may well respond to requests by IP address if it is the only site/application registered on the server.
To use another real-world analogy, it is a bit like addressing an item of post to a town or village - without including the recipient name, street or house number - and then expecting it to be received and to get a response.
Some hosts provide temporary domain names for you to use before you purchase your domain name or whilst the domain name details are propagated to DNS servers around the world. This usually looks something like-
http://your-user.your-host.com/ or http://server.your-host.com/your-username/
If your host offers such a service then this should normally be detailed in their self-help pages, or the admin area where you set up the site. Clearly such a domain is not intended for "production" use, and you should purchase a domain name before using the site for anything other than testing - if only to allow you the flexibility to move to a new host in the future.
This is not a question for StackOverflow users though, and I strongly suggest you consult your host's documentation or contact them for further assistance.