Moderator
James Huff
(@macmanx)
Volunteer Moderator
Has the domain been properly added to your hosting account, or are you merely forwarding and/or masking it from your domain registrar to the IP address?
Hi James,
Thanks for the prompt reply.
Yes the domain is properly configured. My website is hosted on AWS-EC2 and using the Route-53 DNS to configure domain.
My website is accessible through my old link –
http://crossroadscode.com/wordpress/
But I changed it’s location to be at home http://crossroadscode.com
Even the website theme is also not loading at my old address.
I know this is due to some home/site path settings. But not able to figure out what i am missing.
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Yes i follow the link,
Initially when i host my website through IP
My WordPress Address – http://123.45.67.8/wordpress
My Site Address – http://123.45.67.8/wordpress
After getting domain, through admin setting I changed the WordPress Address and Site Address as follows –
My WordPress Address – http://crossroadscode.com/wordpress
My Site Address – http://crossroadscode.com
After that my website goes down.
Then I moved the index.php file to /var/www/html/
and create .htaccess file with following content at /var/www/html/
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
But still my wordpress website is not showing at my domain home. I also removed the index.html file from /var/www/html but still not showing wordpress home page.
Thanks for your patience.
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Ok,Now i get my site up at my home page.
My bad – added the record set for http://www.crossroadscode.com not for crossroadscode.com in my host zone.
Adding it solved my problem partially.
But still my website theme is not loading.
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Is WordPress’s index.php file in the web root for that domain?
Is there an index.html or home.html file there too?
http://www.crossroadscode.com/ is working fine seems to be a domain problem.
But now my theme is not loading properly.
While loading resources(ex – http://crossroadscode.com/wp-content/plugins/wp-syntax/css/wp-syntax.css?ver=1.0), there is an error in chrome console –
Failed to load resource: the server responded with a status of 404 (Not Found)
I set the site url – http://crossroadscode.com
I set the wordpress home url – http://crossroadscode.com/wordpress
When i created the symbolic link for wp-content in my /var/www/html folder (/var/www/html/wp-content -> /var/www/html/wordpress/wp-content/) than my sites loads properly.
When i click on any links, it still contain wordpress – http://crossroadscode.com/wordpress/index.php/2016/03/07/difference-bw-encoding-encryption-ing/
Expected url – http://crossroadscode.com/index.php/2016/03/07/difference-bw-encoding-encryption-ing/
How should i update the urls?
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Personally, I still see the Apache2 Ubuntu Default Page at both http://www.crossroadscode.com/ and http://crossroadscode.com/ so I suggest sorting that out first with your hosting provider’s support.
I suspect clearing that up may fix WordPress too.
I checked it on 2 3 systems site is up. May be a cache problem.
http://www.awesomescreenshot.com/image/1536161/7cac5bf37bbc920eb5b7d1a2adfee30f
If problem still persist let me know.
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Still seeing the default page even with my browser cache cleared, might be DNS related and thus propagation is an issue, but there isn’t much I can suggest from this point besides that appears to be the problem.
No problem, might be the DNS problem. Will fix this issue later.
Thanks for your help James π
can i interject here with the same problem or should i start a new ticket?