amazon ec2 – Virutal Hosting using XAMPP on AWS EC2 INSTANCE

Trying to host 2 or more domains in a single instance of aws ec2.

my configuration is:

18.219.39.37 [my domain]

Listen 80


AllowOverride none
Require all granted

#Virtual hosts

Include etc / extra / httpd-vhosts.conf

#since XAMPP 1.4.3

AllowOverride AuthConfig Limit
Order allow, deny
Require all granted
Allow from all


ServerAdmin webmaster @ [public IPv4 IP]
DocumentRoot "/ opt / lampp / htdocs / rustikhaws / public_html /"
ServerName [IPv4 public IP]

This configuration gives me …

The requested URL was not found on this server. If you entered the URL manually, please check your spelling and try again.

If you think this is a server error, please contact the webmaster.

and i don't know what is missing in my setup.

Please help. Thank you!

Amazon Linux 2 AMI (HVM), SSD volume type

Does Amazon Linux 2 AMI (HVM), SSD Volume Type run CentOS 7? Or are you running some other form of Linux? How can you find out?

amazon web services – General questions about setting up Vivotek Camera with AWS Kinesis Video Stream?

Thanks for contributing a response to Stack Overflow!

  • Please make sure answer the question. Please provide details and share your research!

But avoid

  • Ask for help, clarification or respond to other answers.
  • Make statements based on opinion; back them up with references or personal experience.

For more information, check out our tips on how to write great answers.

Function key is not passed to Windows in Amazon WorkSpaces

I am using MacBook Pro 2019 with macOS Catalina 10.15.3. I have installed Amazon WorkSpaces 10.15.3 which I use to connect to Windows. My function keys are not transferred to my Windows.

How can i solve this problem?

amazon – How to make S3 Presigned url single use?

Problem: I have a prescribed URL that is valid for 15 minutes. Loading can be started any number of times if the designated url is captured in this time period.

I want to make a prescribed URL in S3 to upload as safe as possible so that the uploaded file is not modified. I always need the first version.

Solutions I researched from various sources:

  1. Upload to a bucket folder and then use a lambda (only once for the first time) to move it to another folder that eventually consumes the uploaded file.
    Cons: introduction of lambda and its cold start even for a small file.
  2. Check the version in all the places where the S3 file is consumed.
    Cons: Too many code and version changes need to be kept somewhere next to the side file name.

Any other idea?

How to combine downloaded Amazon music files?

I want to combine my music files downloaded from Amazon on my Galaxy S9 with the files on my SD card, but the folder names are the same. It's tedious, but I think you could merge individual files into multiple folders (00, 0a, etc.) but is that the only way (?) And is there a limit to how many files can be in each folder?

Why do Amazon links open the Amazon app even though the app is disabled?

Someone sent me some Amazon links on Messenger and the links open the Amazon app. I couldn't uninstall the app as it seems to come with Android! So I disabled the app and the links still open it. Why is the Amazon app still starting when it is disabled? Unless disabled, it doesn't really mean disabled.

amazon web services – How to name or rename an EIP on AWS?

Somehow, at some point, I created 2 EIPs and gave them names (they have names in the EC2 user interface).

enter the image description here

But now I can't understand, or find in the documents, how to name EIP, either when creating them or after creating them, how do you do it (the answer may be through AWS CLI)?

enter the image description here

amazon web services: connection error when calling external API from AWS Glue

I am trying to access an external API from the aws glue script.

import requests
r = requests.get("https://api.github.com/users/hadley/orgs")

I get a connection error that says:

ConnectionError: HTTPSConnectionPool(host='api.github.com/users/hadley/orgs', port=443): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: (Errno 101) Network is unreachable',))

Can anyone help?
Thanks in advance!