Create a sub directory on aws

0

Hi, i want create a sub-directory on domain name like <www.example.com/fr>. How i can make this ? I'm waiting to your idea of the roadmap to taking

  • Hi.
    Where are you hosting your website? EC2?

1 Antwort
1

Hello,

I don't think you can create domain like <www.example.com/fr>, As far as I understand that you would like to reach your domain like www.example.com/fr, So in this case, you can use redirection from your webserver/hosting-server/Ec2/anyserver, Here are the steps if you would like a redirection to the path /fr

You just need to add the DNS record** "A"** into your hosted zone like ** www.example.com --A Record-- IP address**, Redirection can be taking care by the Webservers or Load balancers, Please look at the below links to do the configuration based on your Webservers.

Redirection to /fr using Nginx:

Redirection using Apache:

Redirect using AWS ALB:

profile picture
GK
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen