I can't access to my website hosted on OVH (The requested URL / was not found on this server) - web-hosting

I have a website hosted on ovh.
I'm uploaded the source files in www directory and now when i try to access to my home page website i have this error : The requested URL / was not found on this server. In the www directory i have an index.html file.
Can you help me please.

Make sure that your hostname is pointing to the right folder.
For OVH, you usually need to check the "Multisite" or the "Subdomain" settings to configure on which folder the user lands, depending on the (sub)domain.

For OVH webhosting, each domains or subdomains is handle by a "multisite". You can setup a different folder for each multisite.
Did you check your multisite is setup for your "www" folder?

Related

I have uploaded the files of my website in cpanel in public_html but after that website is not visible on web

I have uploaded my website files to public_html in cpanel 11 but even after that my website will not display online. When I type in the domain name, the site is redirected to some ww2."my domain name" .
you could make - telnet "yourdomainname" 80, and after that "GET / HTTP/1.1" to see what will be the response code, and if there are some redirects.
You will have to make sure following things:
Make sure that your domain is resolving correct IP address. If it is not resolving to your hosting server, contact your host for further assistance.
Make sure that you have uploaded the contents to proper directory. You may ask your host if you have any doubt in your hosting control panel.

point subdomain from website-1 to subfolder on website-2 (both hosted on the same server)

I have a client with three websites, each with separate c-panels for their hosting and dns management.
I need to point a subdomain from website-1 and website-2 to website-3, and then have their root be a subfolder on website-3.
I was able to set up a simple subdomain for website-3, and set it's root to the subfolder that I needed, but am having trouble pointing the other two sites.
It seems (from googling around) that the issue is caused by the site's all sharing an IP address, since they're all on the same server.
On website-3 where the subfolder is, I've tried setting up an "add-on domain" of test.website-1.com but get an error stating:
website-1.com is already configured. Sorry, that domain is already setup (remove it from httpd.conf)
I get a similar error trying to use the park a domain settings in the cpanel. I don't have access to the server in a way that lets me httpd.conf (unless there's a way through the cpanel).
Is there any other way to set this up that I'm missing?
If you are using IIS, you can create a website (Add Web site under Sites folder in IIS) in IIS and point to any folder. For example, if you are trying to point a subdomain mysubdomain.website-1.com to a particular folder, create a website in IIS that points to that subfolder, then in bindings, bind it to mysubdomain.website-1.com. In your domain registry, simply point the sub domain to the same IP of Website-1. I believe that should work.
Unfortunately, my knowledge is limited to IIS. If you are not using IIS, you may find other resources to configure a subdomain.
If all your primary domains are using same IP , you will not be able to point the subdomains as you have mentioned since all the subdomains also using the same IPs.
Instead of pointing the subdomain 1 subdomain 2 to subdomain 3 ... just set up redirects directly to subdomain 3 for each subdomain from their primary domain's cpanel.
You can easily set the redirects from Redirects option in cpanel

SFTP Login Success - 404 Error In Browser

This is my first time working with SFTP. I'm used to using a cPanel with a hosting company (like JustHost or GoDaddy, etc.).
I'm able to log in to my SFTP server through FileZilla and I'm able to upload files onto the server but when I go to visit the page on my web browser, it gives me a 404 error. For example, let's say my IP address for the server is:
123.45.67.89
I have the logins and I use them in FileZilla and put files in. And then I want to navigate to a file (in this case I'll use the phpMyAdmin directory I've created since that's what I'm trying). In the browser I write:
123.45.67.89/phpMyAdmin/setup/
This directory exists and has an index.php file in it but when I try to go to it, the browser gives me a 404 error. Am I missing a step here? Do I need to somehow work the login credentials into the URL? I've tried other paths too and they don't work either.
Thanks for your help!
EDIT
I just realized that with SFTP, the browser uses the information that's in the /var/www/html/ folder to display. I can navigate to those directories by just simply typing the directory name in. I suppose my question now is how do I get to the root directory in my web browser. Using just the 123.45.67.89/ defaults to the /var/www/html/ folder...
Which web server do you use? If it's Apache you should learn about apache virtual hosts and modify the apache configuration file (usually on /etc/apache2).
See here for more details.

Joomla Temporary URL images forbidden 403

I have setup a development server for an issue(see No Input File Specified - Joomla), all is working correct now on the development server apart from no images on the site or inside the administration menu are loading.
When I try to look at them individually they are 403 forbidden.
http://37.26.108.168/~arbersho/
All directories are 755, all files are 644 and the owner is the correct one.
Is this because of the temporary URL and will this be fixed by pointing the domain over?
Thanks again
This was a htaccess issue which is fixed.

httpdocs and httpsdocs folders

In the default directory of my hosting server I can see 2 folders among others:
httpdocs
and
httpsdocs
Is this a common directory structure ? If I add stuff to httpsdocs it is automatically protected by SSL ?
thanks
I think some PHP control panel utilities use this directory structure, Plesk is the one that I have seen use this. The framework automatically routes all https:// requests to files located in the httpsdocs directory and all http:// requests to the httpdocs directory.
So with one of these frameworks you can be assured that any pages loaded from httpsdocs will have come through an https:// request and will be SSL encrypted.
Yes it's a common structure.
httpdocs is the folder used by web server when you type http://yourdomain.com in the browser. Content is not encrypted.
httpsdocs is the folder used by web server when you type https://yourdomain.com in the browser. (SSL). Everything you put there will be encrypted using SSL. Check with your hosting company that you have a valid certificate.
If you want your content in the httpdocs folder to be the same for your https URL, you can ask your hosting company to configure that for you.
you definitely require an SSL certificate so that your web traffic is encrypted. If you place files in the httpsdocs folder and you don't have an SSL certificate there will be errors in some browsers. You can force SSL in .htaccess.

Resources