Mobile app version of vmapp.org
Login or Join
Odierno851

: Domain name never return requested path/document, only /index.html I have my own web server and I purchased domain name to use it with my website. For example - my domain name is www.example.com

@Odierno851

Posted in: #Dns #Domains #WebHosting

I have my own web server and I purchased domain name to use it with my website.

For example - my domain name is example.com
When I navigate to example.com/example.html (or example.com/example) I will always be redirected to 178.xx.xx.xx/index.html.

I was able to implement navigation within my website using relative links, but when I do so it would not show the correct URL (for example, I am on example.com/index.html page, and I navigate to /example.html - URL bar would show example.com/index.html instead of example.com/example.html)
If I navigate to 178.xx.xx.xx/example.html manually, it opens the right page, so I assume that my server works correctly.

I am using Debian with Apache for my web server.
For my domain I redirect example.com to 178.xx.xx.xx/ with cloak.

From all above I assume the problem is with my domain configuration, as I tried my friend domain name, and it worked correctly.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Odierno851

1 Comments

Sorted by latest first Latest Oldest Best

 

@Speyer207

Make sure you have a basic A Host setup with your domain registrar host. If its correct then edit your htaccess and make sure that looks fine

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme