@Inderpreet In the recent attempt, I made a mistake but would like to know about the earlier attempts as i think there were correct. In total, I had four attempts. Can you please check the earlier three for which I have shared the screenshots
@Inderpreet @Ayman @mmumshad @vijin.palazhi
Again its task failed. Please check and point the mistake I’m making. Sharing screenshots for reference.
- ‘beta’ webpage is not working on App Server 1
Okay, KKE Team will look into it.
@Inderpreet @Ayman @mmumshad @vijin.palazhi
Please check my install and configure web application for all tasks.
Hello, @nilesh.b.jamale
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.
/var/www/html/games/index.html
@Tej-Singh-Rana 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 http://<url>/games/
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?
sudo scp -r /home/thor/media tony@stapp01:/var/www/html/
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.
or
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/
What do you mean but still nothing?
@Tej-Singh-Rana When i curl http://172.16.238.10:8080/blog from lb server
[loki@stlb01 ~]$ curl http://172.16.238.10:8080/blog
301 Moved PermanentlyMoved Permanently
The document has moved here.
[loki@stlb01 ~]$ curl http://172.16.238.10:8080/apps 301 Moved PermanentlyMoved Permanently
The document has moved here.
curl http://172.16.238.10:8080/blog/