Ubuntu Servers :: New Domain Same Box Htaccess?
Sep 1, 2011
I am changing domain name for web, web is staying on same IP / ServerI want www.OLD.com to redirect (change address name in browser) to at the moment both point to same IP..am not sure why but this .htaccess is not working.
Code:
#Options +FollowSymLinks
RewriteEngine on
[code]....
View 1 Replies
ADVERTISEMENT
Feb 16, 2011
i have registered two domain names that i want to use to connect to my ubuntu server. I was wondering how to do this i was looking at bind9 but that didn't work that great. The server is behind a router with firewall i can connect to it using the external IP address but i like to use the two domain names if that is possible.
View 3 Replies
View Related
May 13, 2010
The company I work for, as usual, is Microsoft-centric. I'm attempting to integrate my Ubuntu server into the domain to allow domain users to authenticate to the server and access file shares using Samba. Here's my current configuration:
[Code].....
View 9 Replies
View Related
Feb 9, 2010
I'm a newb when it comes to linux operating systems so I'm attempting to get better through experience. I work for a web development company and we use Ubuntu for our operating systems (the programmers at least). Anyways, I'm trying to install LAMP services and get them working. I have all L.A.M.P. services installed... but Apache2 is giving me a problem. I have an .htaccess file installed in a directory under my document root. But Apache2 is not interpreting it. I have AllowOverride All on but I can't figure it out. I did make a bogus .htaccess file attempting to make apache give me a error, nothing.
View 2 Replies
View Related
Nov 22, 2010
I installed AWSTATS on my LAMP 10.04 LTS and followed several tutorials URL...) but I can't secure the folder, either by an alias or by .htaccess. I tried both methods manually and by using Webmin.If you go to the URL www.mywebsite/awstats/awstats.pl it shows up, which is good, but this is the default installation site and anyone who knows awstats could possibly see my stats. The conf folder is /etc/awstats/, and I did an alias for that, then .htacess, but neither worked. With the .htaccess, I would get a password promt but the full stats page was visible behind the password promt, and if you clicked "Cancel" about 20 times or so the promt would go away and the full stats page would be visible.
The actual file that powers awstats is in /usr/share/lib/cgi-bin/awstats.pl, and I also tried an Alias and .htaccess seperately and neither worked.I restarted apache2 after each change and I've searched several forums, but I still can't figure this out.
View 2 Replies
View Related
Jan 27, 2011
I am running into a very strange problem where my my .htaccess file keep getting deleted.Attempted scenarios ftp upload file.txt rename to .htaccess ftp upload .htaccess ssh - wget url/.htaccess ssh - wget url/htaccess.txt, rename to .htaccess
[Code]...
View 7 Replies
View Related
Mar 10, 2010
I looked at my apache2 logs. Code:[Wed Mar 10 01:56:34 2010] [crit] [client 192.168.1.100] (13)Permission denied: /home/user/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable the server is located at /etc/apache2 the default place.
View 1 Replies
View Related
Apr 6, 2010
I have followed the tutorial from this site [URL]. I have changed this file /etc/apache2/sites-available/default and in this file I have changed AllowOverride None to AllowOverride All but still I get:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. I have installed and reinstalled apache 2 time already.
View 8 Replies
View Related
Apr 29, 2010
I am not sure what happened, but my .htaccess file is no longer working for my 301 redirects. I did have a hard time getting it working a few weeks back (when I first set it up), unfortunately I did not document it well. Main question is for multiple sites getting redirected, do I want the additional sites listed as aliases? My original setup virtual host config listed seven additional hostnames as aliases.
I later had difficulty with google listing these secondary domains within search result and hurting my page rank. So I setup 301 redirects, and from memory, I had to leave the alias names for the .htacces 301 redirect to work. Now it won't work either way. Can anyone tell me if the aliases need to be in place? Do I need to setup individual vhost files and add an .htacces 301 for each? What is the preferred way to do this? I tried reloading apache2 but it did not help.
Permissions for .htacces:
Code:
-rwxr-xr-x 1 eric www-data 866 2010-04-14 12:06 .htaccess
Attaced is my .htaccess. It resides in the site root directory. Also attached is the virtual host config file.
httpd.conf
Code:
NameVirtualHost *
NameVirtualHost *:443
AddHandler cgi-script .pl
RewriteEngine On
I'm still not sure after hours of reading the various how-to's, what should the file permissions be for the .htaccess. I have not performed any updates during the period it was working till now.
View 2 Replies
View Related
Jul 12, 2010
I have an existing blog that I migrated to ubuntu server recently. The site was running fine until I transfered it over to ubuntu. I get a 404 error whenever I view pages that is not my index. I believe it has to do with my .htaccess file.
I have enclosed the .htaccess and my default file taken from sites-enabled.
.htaccess
Code:
#####################
#PREVENT viewing of .htaccess file
<Files .htaccess>
order allow,deny
[Code].....
View 9 Replies
View Related
Aug 10, 2010
How can I redirect my URL after a site move.I have phpBB forum software installed on a 10.04 server, and I recently moved the forums from mysite.com/forums/ to mysite.com/.
So, a thread that looked like
mysite.com/forums/viewtopic=...
now looks like
[code]...
View 2 Replies
View Related
Sep 29, 2010
We are trying to migrate from a centos server to ubuntu server, but we have some problems with an application called Topincs [url].
The installation is quite simple and I did it several time (but with ubuntu it's the first time).
Probably there are some parameters to set that I don't know, but even if the installation works fine and I can see the home page, the application doesn't work because RewriteRules aren't applied.
First I tried to ensure that mod_rewrite works fine and I found a weird situation: rewriterules work if they are in .htaccess but don't work if they are directly in http.conf.
View 4 Replies
View Related
Dec 16, 2010
Is anyone here fluent with the usage of the .htaccess file? Is it the way to go to deter search bots or is there a better method? Never mind. I already have a thread about .htaccess here.
View 1 Replies
View Related
Jul 22, 2010
After reading this pdf on top 5 things to log for security, ive decided to attempt this for my webserver. how i might setup some logging systems to do these tasks. Basic things i need to be able to do: Record things like password attempts on htaccess files, from what IP address, and how many attempts there were. Any useful links anyone can think of to get me started? Im a student programmer at university so any programming i should be able to cope fine.
View 2 Replies
View Related
Mar 29, 2010
I am thinking about buying a domain name and hosting my web server.
I have seen pricing from $8 to $30 a year. Any favorites from fellow ubunters? Also this whole "whois" thing scares me, if I am correct my information I enter when buying the domain is enter into some big pool of information. People can find this information out and dig up important information. url Can I prevent this with private Whois or how do I set it up? This website examples some of my fears with this whole WhoIs thing, url whois/Private-Whois.html Does most/all domain registers come with email or just email forwarding or both? How does that work? At this moment, my only question about Web Hosting is how do I get Website Statistics as in: Stats, web analytics, web traffic stats and more? I will be web hosting through Ubuntu 9.10 gnome.
View 9 Replies
View Related
Feb 16, 2010
Ubuntu Server 9.10I want to set up my dhcp server to also be my DNS server so do I skip these lines or point them at the same server that the config file is on?
View 4 Replies
View Related
Feb 18, 2010
In the office there is a local network with samba+openldap PDC. The local domain name is company.net. The company desided to create a corporate Website on a remote hosting and desided that the site's domain should be company.net which is same as local network's domain name. So now it is not possible to reach that corporate website from within the company's local network because, as I guess, bind9 which is installed on above menioned PDC looks for company.net on a local webserver. Is there a possibility to let people from this local network browse the remote site?
View 1 Replies
View Related
Apr 25, 2011
I had a problem with apache2 and getting .htaccess working. I have done some things and i believe its working the ErrorDocument command is anyway. I believe there may be some problems with the rewrites though.Im trying to take a urlhttp://localhost/showthread/123and make it display whats on http://localhost/index.php?showthread=123The rewrite rule is Quote:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^showthread/([^/.]+)/?$ index.php?showthread=$1 [L]
[code]....
View 8 Replies
View Related
Mar 1, 2010
I have a multifunction printer that if I scan files I can save it to a shared directory. It's asking for a domain though, which I believe it's referring to a domain controller?
I was wondering if I could just take ubuntu standard edition and install samba and if I could create a domain using Samba? Or if that's not what I want?
View 2 Replies
View Related
Apr 4, 2010
I'm just getting familiar with my new VPS. I have webmin installed. I'd like to host more than 1 website on my server and I just can't figure out how to add a new domain (addon domain) to my server.
View 1 Replies
View Related
Jun 29, 2010
what is the best way of changing DNS Domain name in ubuntu 8.10? My server has bind installed and I can configure dns by webmin. I've all the configuration files under /etc/bind/.[URL]..
View 4 Replies
View Related
Dec 28, 2010
I have the lastest version of ubuntu server up and running along with a website shopping script working perfectly. Now I need to change the url in the address bar so that it stops displaying my ip address and shows instead my choice of domain name for whatever page has been opened. I have a number of domains available and each are redirecting traffic to my home server, but the address bar url alters to my ip address whichever I use. How then do I go about this change? Obviously this is to do with dns resolving stuff which I have no experience of. Can someone put down in as few steps as possible what I need to do?
View 7 Replies
View Related
Jan 11, 2011
I have a truly freakish thing happening here. First I'll start with a general map:
Workstation A (10.10.0.100) - Ubuntu 10.10 joined to mydomain.local via likewise-open
Workstation B (10.10.0.101) - Ubuntu 10.10 joined to mydomain.local via likewise-open
Workstation C (10.10.0.102) - Ubuntu 10.10 NOT joined to any domain
Server A (10.10.0.1) - Windows 2003 AD Server on mydomain.local
Server B (10.20.0.1) - Ubuntu 10.10 joined to otherdomain.remote
As you can see I've successfully installed likewise and I've been able to get SUCCESS notifications from the join. I've been able to log in locally with a domain user and use a domain user password. I've also added a special Group in AD for linuxadmins and then added that to my /etc/sudoers file so I can sudo from a Domain Account. Great right? I'm slowly replacing Windows. But there's a hitch:
I can't SSH from machine to machine! but it's still not quite that simple.
I can SSH from Workstation A to Workstation C as a Domain User.
I can SSH(Putty) from Server A to Workstation A and B as a Domain User.
I can SSH from Server B to Workstation C as an alternate Domain User.
I can't SSH from Workstation A to Workstation B as a Domain User.
I can SSH from Workstation A to Workstation B as a Local User.
I can SSH from Workstation B to Workstation A as a Local User.
I can't SSH from Workstation B to Workstation A as a Domain User.
Complicated enough for you? The simple version is that if it's joined to the domain I can't ssh into another machine that's also joined to the domain while I'm a domain user. But give me a local account and it's as if there's not problem. I tried looking through the logs to find something but wasn't about to find a "sshd" type log. Syslog was completely unhelpful as it doesn't really show anything for the time stamps of my connections. Where does one start troubleshooting this?
I thought it might be a groups thing like the sudoers file, but I don't have an ssh or sshd group. Oh and what does SSH do? What's the error it throws?
Code:
MYDOMAINdomainadmin@workstationa:/$ ssh mydomain\domainadmin@workstationB
The authenticity of host 'WorkstationB (10.10.0.101)' can't be established.
RSA key fingerprint is OB:SC:UR:ED:FR:OM:YO:UF:OR:PR:IV:AC:YR:EA:LL:Y!.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'WorkstationB,10.10.0.101' (RSA) to the list of known hosts.
Here it waits for exactly 120 seconds and then...
Code:
Connection closed by 10.10.0.101
What can I do?
View 3 Replies
View Related
May 9, 2011
I set up a mailserver using this tutorial:[URL].. It works fine so far. I run this server for a small company with about 20 mailboxes where a address looks like that.[URL].. Now I want to set up an alias domain so that [URL].. also automatically is directed into the mailbox of "user".
View 1 Replies
View Related
Jul 25, 2011
I've setup a LAMP server at home & i'm trying to get a webserver running. I'm having trouble finding information on how to "point" my domain at my IP.
The site is up & accessible. I own the domain, but I don't know where to go from here.
I believe I need to change the dns servers on godaddy, but what to?
Is there a free service which will update my IP when it changes?
View 6 Replies
View Related
Apr 4, 2010
I don't know if the problem is the way I create my shares on the Domain member, but here is the way I've configured my systems. My systems are home based, and though the topology may be all wrong, it's set up this way only for test purposes. I love to get things up and running.I've already had a Domain Member running under Samba 3.02xx (Centos), but I'm having problems under Ubuntu and Samba 3.40
Server call Citadel is a VMware Server. I've got 3 virutal machines on this Server, 2 Ubunt 9.10 servers, and 1 Windows XP pro. One of my virtual servers is call Winserver, a Samba PDC server using TDBSAM as it's backend. Configured and working well. I have a share that I can access.On my Windows XP, I'm a domain member, able to access my WinserverServer share "Linux Doc", but when I try to access my domain member, it keeps asking me to login.
View 2 Replies
View Related
Apr 18, 2010
I am a complete newbie at web servers, so I installed Ubuntu Server and have a LAMP set up. I have gotten dynamic DNS to link to my domain, and that seems to be working. My domain is 6py7.com. If I try to access my domain from within my home network it links me to my router's main page (192.168.2.1). I have my server set up with a static ip at 192.168.2.100 and have port forwarding set up.
Is there something I missed with the setup of this? I can only access my domain if I use a network outside of my home network, but if I am within my home network the domain name links to the router.
View 5 Replies
View Related
Apr 20, 2010
I want to make BIND9 aware of my TLD so I need to give it an A record. Then I wanted to create CNAME for ftp, mail and so on as time permits
I have webmin so I need to work from that.
my TLD is [URL]
I wanted to bolt on www, ftp for now
www is port 80, ftp port 21 etc
View 1 Replies
View Related
May 22, 2010
I have set up 10.04 server, got userdir working (/home/username/public_html) so I can access it with h ttp://myipaddress/~username. What do I need to do to get mydomain.com to point to http://myipaddress/~username?
View 9 Replies
View Related
Nov 1, 2010
I have a domain through google (enom) I have one website which I host web forums My friend has a website which he hosts the frontpage We're on two separate hosts We're trying to combine the websites together and my friend wants to utilize his hosting.Is it possible to get this one domain to work on two webservers without doing a redirect? For exmaple: have [URL] be the frontpage and [URL] be the forums
View 1 Replies
View Related