What is the error message?
- ‘beta’ webpage is not working on App Server 1
Okay, KKE Team will look into it.
Please check my install and configure web application for all tasks.
You performed scp command to copy the index.html file to app server.
sudo scp /home/thor/games/index.html tony@stapp01:/var/www/html/games
After ran the scp command. index.html file is converted into the games file. In the actual, you need to copy index.html file with it’s parent directory. e.g.
@player001 Than why is the page/URL getting displayed it should not get displayed. I think the validation is wrong it should not be like that. But thanks for your comment. will wait for a proper response from kodekloud or inderpreet.
It will show you that page because you mentioned that page name with the server url. You can read this comment. You have to create a individual directories (games, media) in the default document root path.
In the question they also provided a format
There is big confusion about the" < lb-url>/games"
we have to use url – stlb01.stratos.xfusioncorp.com or the link which we got at host1 as mentioned in the last point.
As I have used both ways still the task got failed.
When we are validating but system is not accepting or the validation is wrong?
@player001 here is what happens when I do SCP as per your comment.
sudo scp -r /home/thor/media tony@stapp01:/var/www/html/
@player001 Here its gives permission denied error
That’s normal. You don’t have root privileges. You can do one thing
Change the password of the root then try. It’s time taken.
Copy into the /tmp/ directory then move into
/var/www/html directory along with its parent directory.
jump_host:- sudo scp -r /home/thor/blog tony@stapp01:/tmp/ ssh tony@stapp01 app_server:- sudo mv /tmp/blog /var/www/html/
@player001 sudo mv /home/tony/blog /var/www/html did this but still nothing
What do you mean but still nothing?
[loki@stlb01 ~]$ curl http://172.16.238.10:8080/blog301 Moved Permanently
The document has moved here.[loki@stlb01 ~]$ curl http://172.16.238.10:8080/apps 301 Moved Permanently
The document has moved here.
@player001 same error
Have you restarted service after changes in the httpd configuration.
@player001 yes now we need to try later again as time out reaching