Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Htaccess is not working
PostPosted: Mon Aug 04, 2014 5:43 am 
Offline
Newbie

Joined: Mon Aug 04, 2014 4:23 am
Posts: 4
Site is accessible http://www.islampadasala.com/index.php
But its not accessible while taking http://www.islampadasala.com/
Htaccess is not working we had already enabled the mod_rewrite also but its not working please help,


Thanks


Top
   
PostPosted: Mon Aug 04, 2014 7:08 am 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
It seems to be working now. I get your site using both links.


Top
   
PostPosted: Tue Aug 05, 2014 2:32 am 
Offline
Newbie

Joined: Mon Aug 04, 2014 4:23 am
Posts: 4
Yes i have fixed it . Another issue is that i want to get the website by using http://www.islampadasala.com and http://islampadasala.com.But this is http://islampadasala.com not working please support


Top
   
PostPosted: Tue Aug 05, 2014 9:01 am 
Offline
Linode Staff

Joined: Mon Jun 16, 2014 2:27 pm
Posts: 50
Location: Galloway, NJ
Do you have 'www' as a subdomain in your DNS settings? Well, actually, you would also need 'www' as a ServerAlias in Apache/NGINX as well (otherwise the web server won't know what to do with it).

Thanks,

Dave.


Top
   
PostPosted: Wed Aug 06, 2014 12:50 am 
Offline
Newbie

Joined: Mon Aug 04, 2014 4:23 am
Posts: 4
Thanks for your kind support ,
Can you please tell the exact steps that we need to follow to set the sub domain settings in linode


Top
   
PostPosted: Wed Aug 06, 2014 7:15 am 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
You don't have the DNS entry defining 'www'.
- log into your Linode account.
- click on the 'DNS Manager' tab.
- scroll down to 'A/AAAA Records' section.
- click 'Add a new A record'
- enter 'www' as the Hostname (without quotes).
- enter your IP address in the 'Ip Address' field.
- click 'Save Changes'.


Depending on your location, the DNS servers your ISP uses, etc it can take 15 minutes to a few hours before your 'www' subdomain is available.

BTW, your DNS entries don't appear to have any IP address listed at the moment ... which would explain why your site is not available.


Top
   
PostPosted: Wed Aug 06, 2014 9:26 am 
Offline
Linode Staff

Joined: Mon Jun 16, 2014 2:27 pm
Posts: 50
Location: Galloway, NJ
Just as a bit more information to what MSJ put:

https://www.linode.com/docs/networking/ ... ns-records

That guide will help you with how to make the DNS record if you don't actually have the master entry set up for your domain. It will also help you with adding the records in our DNS Manager.

If you don't use our DNS manager, you'll need to configure this in the DNS Manager you use.

Thanks,

Dave.


Top
   
PostPosted: Wed Aug 06, 2014 11:46 pm 
Offline
Newbie

Joined: Mon Aug 04, 2014 4:23 am
Posts: 4
Hi,
i have set my domain as http://islampadasala.com
added address records as WWW
and in my conf file data is

<VirtualHost *:80>
ServerAdmin webmaster@islampadasala.com
ServerName islampadasala.com
ServerAlias www.islampadasala.com
DocumentRoot /var/www/islampadasala.com/public_html/
ErrorLog /var/www/islampadasala.com/logs/error.log
CustomLog /var/www/islampadasala.com/logs/access.log combined
</VirtualHost>

Now the site is not working if any thing wrong please correct and help beacuse the site is down now


Top
   
PostPosted: Thu Aug 07, 2014 9:22 pm 
Offline
Linode Staff

Joined: Mon Jun 16, 2014 2:27 pm
Posts: 50
Location: Galloway, NJ
Looks like it's working from both 'www' and non-'www' here. Could be taking a little while for the DNS records to update.

Thanks,

Dave.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group