title: After I set my wordpress server elastic ip in aws ec2,my wordpress can't request static file
body: <p>I  build a wordpress in aws EC2,everything goes well until I bind a Elastic IP 
  to my wordpress server. The question is wordpress static file request is still the default aswec2 public dns, but I can see the page without css/js.</p>
  
  <blockquote>
    <p>Web server:apache2;Database: aws RDS(mysql);php version:5.3.10;My
    wordpress address:<a href="http://www.aoaostudio.com" rel="nofollow">www.aoaostudio.com</a> ;</p>
  </blockquote>
  
  <p>Because before I bind a Elastic IP, I visit the aws public <code>dns:ec2-***-.ap-northeast-1.compute.amazonaws.com</code>，my wordpress blog is ok!</p>
  
  <p>I feel my apache2 configuration maybe wrong, the configuration file is as follows:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
          ServerAdmin webmaster@localhost
          ServerName www.aoaostudio.com
          DocumentRoot /var/www/wordpress
          &lt;Directory /&gt;
                  Options FollowSymLinks
                  AllowOverride None
          &lt;/Directory&gt;
          &lt;Directory /var/www/wordpress&gt;
                  Options Indexes FollowSymLinks MultiViews
                  AllowOverride None
                  Order allow,deny
                  allow from all
          &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>I have no idea about php, maybe my question is fool, but I hope someone can give a help.</p>