Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9031749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:48:32+00:00 2026-06-16T07:48:32+00:00

I build a wordpress in aws EC2,everything goes well until I bind a Elastic

  • 0

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.

Web server:apache2;Database: aws RDS(mysql);php version:5.3.10;My
wordpress address:http://www.aoaostudio.com ;

Because before I bind a Elastic IP, I visit the aws public dns:ec2-***-.ap-northeast-1.compute.amazonaws.com,my wordpress blog is ok!

I feel my apache2 configuration maybe wrong, the configuration file is as follows:

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        ServerName www.aoaostudio.com
        DocumentRoot /var/www/wordpress
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/wordpress>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>
</VirtualHost>

I have no idea about php, maybe my question is fool, but I hope someone can give a help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T07:48:34+00:00Added an answer on June 16, 2026 at 7:48 am

    You probably installed wordpress while you didn’t have the elastic IP, so WordPress remembered your URL as ec2-…

    There is a tutorial for changing the URL of your WordPress installation here. Follow it, using www.aoaostudio.com as your URL.

    Basically, what you need to do is to add these lines at the top of the functions.php file, right after the opening <?php tag:

    update_option( 'siteurl', 'http://example.com' );
    update_option( 'home', 'http://example.com' );
    

    Then just load the admin login page a few times, and the URLs should update. It’s very important that after all URLs are updated, you remove the code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's a really simple question. I have wordpress 3.4.2 installed. I'm trying to build
Trying to cache an xml file using the build in wordpress function called get_transient
I would like to build a multilingual site with Wordpress. Everything should be multilingual
Context I'm trying to build an answer to this WordPress question . I'm generating
i want to know what wordpress build-in function you will use when sanitizing specific
I have a wordpress theme that has a build in shortcode for creating an
Is there any way of uploading a media file to Wordpress by entering a
I am trying to build a form in WordPress and taking advantage of all
I want to build a widget for WordPress that simultaneously displays my latest Google
I'm looking to build a mobile version of a WordPress site and have most

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.