Author |
|
jwatson
Joined: 10 Nov 2017 Posts: 4 Location: USA
|
Posted: Fri 10 Nov '17 23:25 Post subject: Methods to reach another site |
|
|
Hi folks,
Yes, so my subject is probably a bit vague. Let me try and explain a bit better. So I have to come up with 4 methods to make a site such as www.cita.com and you try to access the site it will reach Apache. The version of Apache I am using is 2.2.35
I believe Redirect is one, but I can't think off top of my head what the other three or other types are. |
|
Back to top |
|
James Blond Moderator
![](images/avatars/3066243e8d00d4770e.gif)
Joined: 19 Jan 2006 Posts: 7288 Location: Germany, Next to Hamburg
|
Posted: Tue 21 Nov '17 17:21 Post subject: |
|
|
I don't understand. What are you trying to do? |
|
Back to top |
|
jwatson
Joined: 10 Nov 2017 Posts: 4 Location: USA
|
Posted: Tue 21 Nov '17 18:31 Post subject: |
|
|
James Blond wrote: | I don't understand. What are you trying to do? |
Ok, so what I am trying to do for a class is reach let's say "https://www.apache.org/" when typing in www.google.com.
Looking for completely different technical ways of reaching another site through one site via what I mentioned above by Google.com = Apache.org or IP.
1. Redirect works when typing in google.com it redirects to apache.org.
2. Changing DNS works by adding IP of apache site.
3. not sure of yet or can't think of one.
4. Same as #3. |
|
Back to top |
|
James Blond Moderator
![](images/avatars/3066243e8d00d4770e.gif)
Joined: 19 Jan 2006 Posts: 7288 Location: Germany, Next to Hamburg
|
Posted: Tue 21 Nov '17 19:09 Post subject: |
|
|
Do ppl use your apache as a forward proxy? Otherwise you would have to deal with the router or the DNS server in your network. |
|
Back to top |
|
Xing Moderator
![](images/avatars/gallery/pics/36.gif)
Joined: 26 Oct 2005 Posts: 49
|
|
Back to top |
|
jwatson
Joined: 10 Nov 2017 Posts: 4 Location: USA
|
Posted: Tue 21 Nov '17 21:57 Post subject: |
|
|
James Blond wrote: | Do ppl use your apache as a forward proxy? Otherwise you would have to deal with the router or the DNS server in your network. |
Not really it is for a college class Web Server Administration and we are working with Apache. Professor just wants different ways to reach a site. We do set up a virtual server for DNS and a website. |
|
Back to top |
|
James Blond Moderator
![](images/avatars/3066243e8d00d4770e.gif)
Joined: 19 Jan 2006 Posts: 7288 Location: Germany, Next to Hamburg
|
Posted: Wed 22 Nov '17 0:15 Post subject: |
|
|
Okay so you use need to have the vhosts (name based) and point the DNS name to the IP of that computer on which apache is running. |
|
Back to top |
|
jwatson
Joined: 10 Nov 2017 Posts: 4 Location: USA
|
Posted: Tue 28 Nov '17 17:51 Post subject: |
|
|
I will be trying vhosts again with it pointing to DNS of Apache.
Will try Reverse Proxy also which have been giving me a little problem. |
|
Back to top |
|