Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

RedHat EX200 Exam - Topic 7 Question 97 Discussion

Configure a HTTP server, which can be accessed through http://station.domain40.example.com.Please download the released page from http://ip/dir/example.html.
A) Explanation: # yum install -y httpd # chkconfig httpd on # cd /var/www/html # wget http://ip/dir/example.html # cp example.com index.html # vim /etc/httpd/conf/httpd.conf NameVirtualHost 192.168.0.254:80 <VirtualHost 192.168.0.254:80> DocumentRoot /var/www/html/ ServerName station.domain40.example.com </VirtualHost>

RedHat EX200 Exam - Topic 7 Question 97 Discussion

Actual exam question for RedHat's EX200 exam
Question #: 97
Topic #: 7
[All EX200 Questions]

Configure a HTTP server, which can be accessed through http://station.domain40.example.com.

Please download the released page from http://ip/dir/example.html.

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Craig
9 months ago
Surprised to see "yum" here, thought everyone switched to "dnf" by now!
upvoted 0 times
...
Pok
10 months ago
Wait, is "NameVirtualHost" still necessary? I thought it was deprecated!
upvoted 0 times
...
Jacqueline
10 months ago
Agreed, "systemctl" is the way to go for newer systems!
upvoted 0 times
...
Thea
10 months ago
Looks good, but why use "chkconfig"? Isn't "systemctl" better nowadays?
upvoted 0 times
...
Svetlana
10 months ago
Just a heads up, make sure to replace "ip" with the actual IP address!
upvoted 0 times
...
Laquanda
11 months ago
I remember the command to install httpd, but I'm a bit uncertain about the exact syntax for the VirtualHost directive. Did we need to include any additional options?
upvoted 0 times
...
Annelle
11 months ago
I feel like I might have mixed up the DocumentRoot and ServerName settings in the configuration file. I hope I get that right.
upvoted 0 times
...
Paulina
11 months ago
I practiced a similar question where we had to configure a web server, but I can't recall if we needed to use 'wget' or 'curl' for downloading files.
upvoted 0 times
...
Mattie
11 months ago
I think I remember needing to set up the virtual host correctly, but I'm not sure if I have the right IP address for the NameVirtualHost.
upvoted 0 times
...
Alayna
11 months ago
This seems pretty straightforward. I've done virtual host configuration before, so I think I've got a good handle on this.
upvoted 0 times
...
Clorinda
11 months ago
Wait, do I need to create a new index.html file or just copy the example.html file? I want to make sure I understand that part correctly.
upvoted 0 times
...
Tracie
11 months ago
Okay, let's see. First, I'll install the Apache package, enable the service, and download the example HTML file. Then I'll need to set up the virtual host. I think I can do this.
upvoted 0 times
...
Jaime
11 months ago
Hmm, I'm a little unsure about the virtual host configuration. I'll need to review that part carefully.
upvoted 0 times
...
Nilsa
11 months ago
This looks like a pretty straightforward question. I think I can handle this one.
upvoted 0 times
...
Izetta
11 months ago
I'm leaning towards option C, but I feel like I should double-check if we discussed anything about the Control Hub.
upvoted 0 times
...
Layla
1 year ago
I bet the answer involves a lot of copy-pasting. My fingers are ready!
upvoted 0 times
Willard
1 year ago
Don't worry, just follow the instructions and you'll have it up and running in no time.
upvoted 0 times
...
Willard
1 year ago
I know right, it seems like a lot of steps to set up the server.
upvoted 0 times
...
...
Nancey
1 year ago
You can use 'yum install -y httpd' to install the server and then configure the VirtualHost in the httpd.conf file.
upvoted 0 times
...
Hobert
1 year ago
Tom
upvoted 0 times
...
Larue
1 year ago
I agree, but I'm not sure about the specific commands to use.
upvoted 0 times
...
Nancey
1 year ago
I think setting up a HTTP server is not too difficult.
upvoted 0 times
...

Save Cancel