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?
@Tej-Singh-Rana here is what happens when I do SCP as per your comment.
sudo scp -r /home/thor/media tony@stapp01:/var/www/html/
@Tej-Singh-Rana 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.
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/
@Tej-Singh-Rana sudo mv /home/tony/blog /var/www/html did this but still nothing
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 Permanently
Moved Permanently
The document has moved here.
[loki@stlb01 ~]$ curl http://172.16.238.10:8080/apps
301 Moved Permanently
Moved Permanently
The document has moved here.
curl http://172.16.238.10:8080/blog/
1 Like
Have you restarted service after changes in the httpd configuration.
@Tej-Singh-Rana yes now we need to try later again as time out reaching
Okay, Have you got again this task?
How did you define in the /var/www/html ?
@Tej-Singh-Rana
sudo scp -r /home/thor/news/index.html tony@stapp01:/var/www/html/news
sudo scp -r /home/thor/cluster/index.html tony@stapp01:/var/www/html/cluster
Go into the location /var/www/html/ and check the index.html file is present with the cluster directory?
@Tej-Singh-Rana I check for all app server and its there.
Share the image one of the app server.
ls -l /var/www/html/cluster/
Hi All
I have seen the above mentioned steps for this task and followed the same.
I have copied the directories from jump_host to stapp01 /var/www/html and also added the virtual host with the 8080 port as given in the task.
But after restarting the httpd service and trying to access
curl http://172.16.238.10:8080/cluster/
curl http://172.16.238.10:8080/blog/
I’m getting 404 not found error can any body help me with this