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 Respuesta
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
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas