Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to create a personal/professional website within a college domain. From the university I've requested a static IP address which is directed to this website name: "http://lastname.someuniversity.edu". I would like to setup an Amazon EC2 instance to host a website.

I know how to create/administer the website on the EC2 instance - I just don't know how to get the EC2 instance to talk to the university (and vice-versa). The IT person at the university wasn't terribly helpful.

I'm familiar with how to setup a local machine to run as the webserver but am not sure how to get the Amazon EC2 instance to 'sit inside" the university.

Any ideas?

share|improve this question
add comment

2 Answers

From your description, you would need to request that the your domain name, "lastname.someuniversity.edu", be pointed to the static address (Elastic IP address) assigned by Amazon. This would be done with by asking the university's DNS administrator to assign the 'A' record to the Amazon EIP. It is unlikely they would be willing to do this but you won't know until you ask.

A static IP address from the university would only be applicable if the server was managed by the university themselves. Most large organizations prefer to maintain control of their domains.

share|improve this answer
    
That doesn't really answer the question. –  Josh Aug 4 '10 at 0:04
1  
Your method for redirection would "point" his domain name to the EC2 instance but does the university provide such a site for him? An A record or CNAME as you mentioned both solve the issue as well. In either case the university would need to make a change on their end. Both are valid responses based on the information given by the poster. –  George Aug 4 '10 at 0:13
    
Sentence-by-sentence: 1 tells the poster something he already knows (need to link the domain name to the IP). 2 provides the only useful content ("assign the 'A' record to the Amazon EIP"). 3 is just wrong (they are willing to do this, they're just not very helpful). 4 is plain stupid - a static IP is 'applicable' whoever the server's managed by, and almost all university manage their servers themselves anyway. 5 simply irrelevant. –  Josh Aug 4 '10 at 16:56
    
@Josh - Your making some assumptions but that's OK. You win, have a nice day. –  George Aug 4 '10 at 18:48
add comment

It'll have to be done at the university end using a redirection (either by CNAME or URL). If you have access to files on the university server then just add an automatic redirect using an index.html, something like this:

<html>
<head>
<meta http-equiv="Refresh" content="0;url=178.19.145.123" />
</head>

<body>
<h1>Error: Wrong page.</h1>
<h2>The main site is hosted at: <a href="178.19.145.123">Amazon EC2</a></h2>
<p>You should be instantly redirected to the correct server, if not, click the lonk above.</p>
</body>
</html>

Although CNAME would be the prefered method.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.