• Resolved joemachi

    (@joemachi)


    Hi Guys
    I’m complete new in this.

    I have installed my WordPress blog on Apache server using an AWS EC2 Instances Tutorial. The blog works perfectly, but the url looks like this: 52.17.159.243/wordpress/

    My question is, What type of record set do I have to make in Route 53 to make my externally hosted DNS example.com and https://www.example.comthe url address for my WordPress blog that now looks like this
    52.17.159.243/wordpress/ ?

    I want to be able to use user-friendly links like
    example.com.com/shop
    example.com.com/home
    etc.

    I don’t want the url to look like this
    52.17.159.243/wordpress/shop
    52.17.159.243/wordpress/home
    etc.

    Any help will be appreciated.
    Joe

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator bcworkz

    (@bcworkz)

    Get into your account with your domain registrar to edit your domain’s DNS zone file. There should already be an A record with @ host, though it’s possible it needs to be added.

    Set the A record for @ host to point to 52.17.159.243. Set TTL for something not too long, I use 600 (seconds). Be sure there is also a CName record for host www that points to @. The TTL can be longer here, say 1 hour.

    Be sure the settings in WordPress use your domain and not the IP.

    It may take a while for your zone file change to propagate through the DNS infrastructure, partly depending on the old TTL setting.

    Thread Starter joemachi

    (@joemachi)

    Thanks bcworks
    for your answer I did what you told me. Lets wait and see. my url shows only
    the apache test page but not my blog. That is because the ip address point to the Apache server not my blog. https://pandodesign.com/

    Any other thoughts?

    Joel

    Thread Starter joemachi

    (@joemachi)

    Moderator bcworkz

    (@bcworkz)

    I guess I only gave half an answer, the other half was taken care of for me so I was unaware of it. Apologies.

    The server’s hosts file needs a VirtualServer entry for your domain so such requests get routed to your account. I imagine this is something your hosting provider needs to do for you. Once that is done your domain should work correctly. The DNS gets domain requests to the server, the hosts entry gets domain requests from the server root to your account.

    Once that is working you need to alter your WP settings to use your domain instead of IP number (The WP Address and Site Address fields). If you’ve been creating content with the IP address in place you’ll need to update the DB when you switch from IP to domain. See https://codex.www.ads-software.com/Moving_WordPress#Changing_Your_Domain_Name_and_URLs/

    I’ve used this tool to update DBs: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
    It works quite well assuming you have FTP access.

    Thread Starter joemachi

    (@joemachi)

    Thanks a lot the problem is solved.
    Just need to get reed of the extra url stream that comes after the url.
    https://pandodesign.com/?v=74337d2b5fd7

    But https://pandodesign.com/ is working and the links aswell. ??

    best
    Joel

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Route 53 settings for WordPress blog on aws Apache server’ is closed to new replies.